Switching to [KMGTPE]i prefixes?

Alexander Best arundel at freebsd.org
Fri Mar 25 10:13:04 UTC 2011


On Fri Mar 25 11, Bruce Cran wrote:
> On Fri, 25 Mar 2011 00:21:15 +0000
> Alexander Best <arundel at freebsd.org> wrote:
> 
> > i hacked up humanized_number(3) a bit in order to produce the
> > following df(1) output:
> > [...]
> > 4.2Gi   4.2Gi      0B   100%       0     0  100%   /media/dvd
> 
> I don't know if it's correct, but Snow Leopard uses "Bi" for bytes.

hmmm...i'm wondering why they do that. there's no reason for that, because
1 bytes is 8 bit no matter if you use a power of one or a power of ten.

cheers.
alex

> 
> -- 
> Bruce Cran

-- 
a13x


More information about the freebsd-hackers mailing list