From 1882eec679fb01700a491d158fa4dad8efbcc9fe Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 8 Jul 2002 17:15:19 +0000 Subject: df now rounds all quantities up, as per POSIX. This fixes a bug where df would report Size < Used. --- doc/coreutils.texi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'doc/coreutils.texi') 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 @@ -7764,10 +7765,6 @@ one line; a mount device is never put on a line by itself. This means 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}. -- cgit v1.2.3-54-g00ecf