Subject: bug#16922: df --si -h should emit a warning

From: Mateusz Jończyk <[email-masked]>
Date: Sun, 02 Mar 2014 19:13:52 +0100

W dniu 02.03.2014 18:38, Bernhard Voelker pisze:
> The problem is maybe that "df --help" doesn't explicitly say that -h is using
> powers of 1024 no matter what other option was given before.
> 
> -h, --human-readable  print sizes in human readable format (e.g., 1K 234M 2G) 
> -H, --si              likewise, but use powers of 1000 not 1024
> 
> However, the info page is quite clear about this:
> 
> `-h' `--human-readable' Append a size letter to each size, such as `M' for
> mebibytes. Powers of 1024 are used, not 1000; `M' stands for 1,048,576 bytes. 
> This option is equivalent to `--block-size=human-readable'.  Use the `--si'
> option if you prefer powers of 1000.
> 
I did not read the full man page description, just found the header '--si' and
thought that it does just what the name says: switches the display powers from 1024
to 1000. It should probably be described earlier in the manpage.

- -- 
Pozdrawiam,
Mateusz Jończyk
AEI, Informatyka, Semestr 2 Magisterskich, BDiIS