diff options
author | D. Hugh Redelmeier <hugh@mimosa.com> | 2013-06-27 12:32:45 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2013-06-27 12:36:59 +0100 |
commit | 1b90421a1bb27960679d180e40412d74b6ff3d0c (patch) | |
tree | a818d4f433a2e2fca9d31e2e469b3abd856ca7f5 /doc | |
parent | cd510a676d15d67268e83eb9bd7c8971d7a4a7d6 (diff) | |
download | coreutils-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.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/coreutils.texi | 12 |
1 files changed, 5 insertions, 7 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}. |