Module Name:    src
Committed By:   christos
Date:           Wed Sep 18 23:43:23 UTC 2019

Modified Files:
        src/bin/df: df.1

Log Message:
It is not just root, it is device read access (kre)


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/bin/df/df.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/df/df.1
diff -u src/bin/df/df.1:1.51 src/bin/df/df.1:1.52
--- src/bin/df/df.1:1.51	Wed Sep 18 16:17:46 2019
+++ src/bin/df/df.1	Wed Sep 18 19:43:23 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: df.1,v 1.51 2019/09/18 20:17:46 christos Exp $
+.\"	$NetBSD: df.1,v 1.52 2019/09/18 23:43:23 christos Exp $
 .\"
 .\" Copyright (c) 1989, 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -178,6 +178,14 @@ The wedge name is prefixed with
 .Dq NAME=
 as in
 .Xr fstab 5 .
+The .Fl W
+option needs read access on the devices to be able to access
+the wedge information.
+This is available to users with root privileges, and usually to
+members of group operator.
+If the wedge information cannot be obtained, for one or more
+filesystems, the
+.Fl W option is silently ignoresd for those filesystems.
 .El
 .Sh ENVIRONMENT
 .Bl -tag -width BLOCKSIZE
@@ -213,7 +221,7 @@ utility appeared in
 .Sh BUGS
 The
 .Fl W
-option needs root privileges to run because it needs to open the disk devices
-to get the wedge information.
+option needs read access to the disk device node to
+get the wedge information.
 Perhaps this information should be exposed via a different mechanism in the
 future.

Reply via email to