GNU bug report logs - #9279
df -h should use human_round_to_nearest in human_output_opts for more accurate results

Previous Next

Package: coreutils;

Reported by: Sabuj Pattanayek <sabujp <at> gmail.com>

Date: Thu, 11 Aug 2011 06:31:02 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 9279 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Sabuj Pattanayek <sabujp <at> gmail.com>
Cc: 9279 <at> debbugs.gnu.org
Subject: Re: bug#9279: df -h should use human_round_to_nearest
	in	human_output_opts for more accurate results
Date: Thu, 11 Aug 2011 08:20:11 -0700
tag 9279 notabug
thanks 

Thanks, but df always rounds up.  POSIX requires this for formats it specifies;
see <http://pubs.opengroup.org/onlinepubs/9699919799/utilities/df.html>
and look for "rounded".  for other formats, I thought it better to be
consistent.




This bug report was last modified 14 years and 6 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.