diff options
-rw-r--r-- | doc/coreutils.texi | 5 | ||||
-rwxr-xr-x | tests/df/skip-rootfs.sh | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 21400adb6..5f8fad774 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -10601,8 +10601,9 @@ Normally the disk space is printed in units of Non-integer quantities are rounded up to the next higher unit. For bind mounts and without arguments, @command{df} only outputs the statistics -for the first occurence of that device in the list of file systems (@var{mtab}), -i.e., it hides duplicate entries, unless the @option{-a} option is specified. +for the first occurrence of that device in the list of file systems +(@var{mtab}), i.e., it hides duplicate entries, unless the @option{-a} option is +specified. By default, @command{df} omits the early-boot pseudo file system type @samp{rootfs}, unless the @option{-a} option is specified or that file system diff --git a/tests/df/skip-rootfs.sh b/tests/df/skip-rootfs.sh index 9ba2716b9..7a6783598 100755 --- a/tests/df/skip-rootfs.sh +++ b/tests/df/skip-rootfs.sh @@ -25,7 +25,7 @@ df || skip_ "df fails" df -a >out || fail=1 grep '^rootfs' out || skip_ "no rootfs in mtab" -# Ensure that rootfs is supressed when no options is specified. +# Ensure that rootfs is suppressed when no options is specified. df >out || fail=1 grep '^rootfs' out && { fail=1; cat out; } |