summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD. Hugh Redelmeier <hugh@mimosa.com>2013-06-27 12:32:45 +0100
committerPádraig Brady <P@draigBrady.com>2013-06-27 12:36:59 +0100
commit1b90421a1bb27960679d180e40412d74b6ff3d0c (patch)
treea818d4f433a2e2fca9d31e2e469b3abd856ca7f5
parentcd510a676d15d67268e83eb9bd7c8971d7a4a7d6 (diff)
downloadcoreutils-1b90421a1bb27960679d180e40412d74b6ff3d0c.tar.xz
doc: fix details on the interaction of df with device nodes
* man/df.x: Don't say that a dev node is always on the root file system. * doc/coreutils.texi (df invocation): Likewise. Also state that the device node to mounted file system interpretation is only done when passed absolute paths to device nodes.
-rw-r--r--doc/coreutils.texi12
-rw-r--r--man/df.x3
2 files changed, 6 insertions, 9 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index ae1081b1a..b3233f602 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -11023,14 +11023,12 @@ not shown per default when already the real root device has been mounted.
@cindex disk device file
@cindex device file, disk
-If an argument @var{file} is a disk device file containing a mounted
-file system, @command{df} shows the space available on that file system
-rather than on the file system containing the device node (i.e., the root
-file system). GNU @command{df} does not attempt to determine the
-disk usage
+If an argument @var{file} is an absolute name of a disk device node containing
+a mounted file system, @command{df} shows the space available on that
+file system rather than on the file system containing the device node.
+GNU @command{df} does not attempt to determine the disk usage
on unmounted file systems, because on most kinds of systems doing so
-requires extremely nonportable intimate knowledge of file system
-structures.
+requires extremely nonportable intimate knowledge of file system structures.
The program accepts the following options. Also see @ref{Common options}.
diff --git a/man/df.x b/man/df.x
index 7e908ae09..c8889b42b 100644
--- a/man/df.x
+++ b/man/df.x
@@ -21,8 +21,7 @@ If an argument is the absolute file name of a disk device node containing a
mounted file system,
.B df
shows the space available on that file system rather than on the
-file system containing the device node (which is always the root
-file system). This version of
+file system containing the device node. This version of
.B df
cannot show the space available on unmounted file systems, because on
most kinds of systems doing so requires very nonportable intimate