On 13 Jan 2001, at 16:07, James R. Frysinger wrote:
> I made a pleasant discovery yesterday about linux (kernal
2.2.16). The
It is not kernel related, but it is rtelated to the application ( df or du
).
Anyway since it count the blocks that are actually 1024 bytes, you
end in having a mixed ( 1024*1000*1000) display .
> linux command df (report filesystem disk space usage) has a "metric"
> switch available. Whereas the normal df command reads out in kilobytes
> and megabytes, adding the -H or --si switch as in "df -H" or "df --si"
> alters the readout to do "likewise, but use powers of 1000 not 1024". Of
> course, there's nothing "si" about 1000, per se, but the thought was
> there. The du command (estimate file space usage) has the same switch
> available. I saw nothing about kibibytes or mebibytes (using the IEC
> binary prefixes). The Solaris system I use down at the college does not
> have these options available for df and du.
Leonardo Boselli
nucleo informatico e telematico
Dipartimento Ingegneria Civile
Universita` di Firenze
V. S. Marta 3 - I-50139 Firenze
tel +39()0554796431 fax +39()055495333
http://www.dicea.unifi.it/~leo