bug-coreutils
[Top][All Lists]
Advanced

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

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


From: Mateusz Jończyk
Subject: bug#16922: df --si -h should emit a warning
Date: Sun, 02 Mar 2014 19:13:52 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: My public key: 0x2C64C488 on hkp://pool.sks-keyservers.net
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTE3TfAAoJELLT9LcsZMSIolUH/jHyBgsBerTkkD1UF+HVGlpH
sAp/H3lS3syzpTVjOMrCmW6WtYAWWzpVbLXmHM4YLSX1U/kzE9RibfJ5inH+ZInT
Stllsi3Dkh0ACyPBQCEcAsILMzEnV+5Sxo+Qc9JP+PAQetQ1IbuFRRuPfh2TfFz7
1jUWWWeUDy20S7uUMb4Xew201VLdm4si+aaTn0dJV9Wl8pSC/ldbF6MOiYypJZji
D6obMcyzcofWNY2sNi2Jz9lxNBHGW7jG2Z0k4PUigGY4gLdG1aUfOzVc6n5DkT0x
A4hJzl1oIlvtr9RAVmrt7U7QA2oHgVmGzkuLEWSdgRoCh4ZGKAbqRyxHWSOu4d0=
=cwS7
-----END PGP SIGNATURE-----





reply via email to

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