bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Human readable discrepancy in df?


From: Paul Eggert
Subject: Re: Human readable discrepancy in df?
Date: 12 Nov 2003 01:30:32 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Clive Menzies <address@hidden> writes:

> Using the h flag produces a lower figure for "Used" and "Avail" than the
> H flag.  However, "Size" doesn't change.  Does this mean that -h is not
> basing Size on 1024 but 1000 bytes?

No, it just means that on your particular example, the Size was
somewhere in the range [12 GiB, 13 GiB) and was also in the range [12
GB, 13 GB); so in both cases the value was printed "12G".  Hence the
size was somewhere in the range [12 GiB, 13 GB), i.e. it was at least
12,884,901,888 bytes and was less than 13,000,000,000 bytes.

This didn't happen for Used and Avail, so they printed differently.

If this happens in the future, you can see the exact size (in bytes)
with "df --block=1".




reply via email to

[Prev in Thread] Current Thread [Next in Thread]