diff options
author | Pádraig Brady <P@draigBrady.com> | 2010-09-20 15:07:02 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2010-09-20 15:07:02 +0100 |
commit | f57cb371fa0a940f41163a27bf2d460c1a4d2d35 (patch) | |
tree | f197dc2f5fe73945e8469ffc915d1b9b7e299272 /doc | |
parent | 0a238bcb8720b6b29cc331928be12642525b8df5 (diff) | |
download | coreutils-f57cb371fa0a940f41163a27bf2d460c1a4d2d35.tar.xz |
tests: fix an erroneous stat failure with bind mounts
* tests/misc/stat-mount: Don't try to correlate the
mount points output by df and stat, as they're similar,
but sometimes different in the presence of bind mounts.
* doc/coretuils.texi (stat invocation): Clarify the
bind mount difference between stat and df.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/coreutils.texi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 72ee450d3..170ce0c37 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -10715,9 +10715,10 @@ stat does not search for specified device nodes in the file system list, instead operating on them directly @item @cindex bind mount -stat outputs the alias for a bind mounted file, -rather than its backing device. One can recursively call stat -until there is no change in output, to get the base mount point +stat outputs the alias for a bind mounted file, rather than +the initial mount point of its backing device. +One can recursively call stat until there is no change in output, +to get the current base mount point @end itemize When listing file system information (@option{--file-system} (@option{-f})), |