[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: df: Wrong Gigabyte-Output
From: |
Paul Eggert |
Subject: |
Re: df: Wrong Gigabyte-Output |
Date: |
Fri, 02 Sep 2005 12:02:51 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
"Matzwelt.info" <address@hidden> writes:
> ich saw this Problem after Dist-Upgrade (aptitude) from Debian 3.0 (woody)
> to Debian 3.1 (sarge). 3304 MB must be output 3,2(265625) GB on df -h.
I don't see a bug here. As I understand it, you had 3,463,516,160
bytes on your partition, which is about 3303.07 MiB (one MiB == 2**20
bytes). df always rounds up (POSIX requires this) so it rounds up the
total to 3304 MiB-blocks. That same total is also equal to about 3.23
GiB (one GiB == 2**30 bytes), so df -h's "3,3G" is also correctly
rounded up. Also, df -H's "3,5G" is also correctly rounded up, since
the actual value is about 3.46 GB.
Does this explain what you observed? If not, please clarify. Thanks.