-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 W dniu 02.03.2014 15:33, Pádraig Brady pisze: > On 03/02/2014 12:33 PM, Mateusz Jończyk wrote: >> Hello, There should be a warning when running df --si -h because it will >> display results in blocks of 1024 and not 1000, as one might think (the >> switch --si displays blocks in a human-readable format when used by itself). > > This is confusing. > > I think the confusion stems from the option names themselves. I.E. I'm not > sure > you'd want to warn as you might want to support overriding options. Consider: > alias df='df -h' > > Then you could very well want to `df -H` to override the power from 1024 to > 1000. > > So really the option should be --human-si not just --si. > > Also I notice that in GNU df, -h and -H are 1024 and 1000 based respectively, > whereas on FreeBSD it's the other way around :( > > How about we just support --human-si and deprecate --si ? There should probably be a warning in the documentation at --si.
I do not know what to think about the --human-si switch. > > thanks, Pádraig. > - -- 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/ iQEcBAEBAgAGBQJTE3N3AAoJELLT9LcsZMSIX90H/AkPy6z8MSDtKIi6JmkkABjI k6ed81SO2H33XAU5agyGjxqlWvrKfo2Bl0Kxk0AJtoeTN74ENKTJvEmLDcnSJu48 90g4+91zRqv0+v+39OVqSrXK0kf2Sj+9Tg893Mw+tUsKHHEU3I82v9aTpHI8pFlY 4zHul7a+3GToD7EQbLX3ZPz15ehNJM9cLsrCKLsIoUBHQxhMXToL7ixhfm9D8PCY moa3+mKg0T2zXGnTMjrHQs7YdBE95FI1MtA4upTXqJFIeyb0JhX5jUSX4HDbL6Ll ln8iOQvU8cqv2Msa3qc2LcM939R8A32WChbP9L4gojpnGXB0NpX3reb6qcrm8/4= =x3bk -----END PGP SIGNATURE-----
