Ubuntu Desktop Unit Consistency (LP: #369525)
Nils Kassube
kassube at gmx.net
Mon Jun 1 08:58:44 UTC 2009
Dmitrijs Ledkovs wrote:
> 2009/6/1 Nils Kassube <kassube at gmx.net>:
> > From "man du":
> > | --si
> > | like -h, but use powers of 1000 not 1024
>
> Yeah but it uses incorrect prefix =(
>
> -h, --human-readable
> print sizes in human readable format (e.g., 1K 234M 2G)
>
> --si like -h, but use powers of 1000 not 1024
>
> So the -h should use Ki Mi and Gi (am I getting this right?).
Good point. I suppose the output format is according to POSIX which
predates the binary prefix standard. Changing the prefixes to Ki/Mi/Gi
might break existing scripts which rely on the (wrong) k/M/G prefixes.
Nils
More information about the Ubuntu-devel-discuss
mailing list