summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-07-08 17:15:19 +0000
committerJim Meyering <jim@meyering.net>2002-07-08 17:15:19 +0000
commit1882eec679fb01700a491d158fa4dad8efbcc9fe (patch)
treea47086abbe613c79d33cab40daad2141948c1370 /doc/coreutils.texi
parent67bf6815c49212468988a69c76ced0fb121ca845 (diff)
downloadcoreutils-1882eec679fb01700a491d158fa4dad8efbcc9fe.tar.xz
df now rounds all quantities up, as per POSIX.
This fixes a bug where df would report Size < Used.
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r--doc/coreutils.texi6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 3960859bf..b17d18b27 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -7660,6 +7660,7 @@ reports on the filesystem containing each argument @var{file}.
Normally the disk space is printed in units of
1024 bytes, but this can be overridden (@pxref{Block size}).
+Non-integer quantities are rounded up to the next higher unit.
@cindex disk device file
@cindex device file, disk
@@ -7765,10 +7766,6 @@ that if the mount device name is more than 20 characters long (e.g., for
some network mounts), the columns are misaligned.
@item
-Non-integer values are rounded up, instead of being rounded down or
-rounded to the nearest integer.
-
-@item
The labels in the header output line are changed to conform to @acronym{POSIX}.
@end enumerate
@@ -7865,6 +7862,7 @@ du [@var{option}]@dots{} [@var{file}]@dots{}
With no arguments, @command{du} reports the disk space for the current
directory. Normally the disk space is printed in units of
1024 bytes, but this can be overridden (@pxref{Block size}).
+Non-integer quantities are rounded up to the next higher unit.
The program accepts the following options. Also see @ref{Common options}.