Problems when creating Live-boot usb stick

Darr darr at core.com
Fri Jul 9 13:53:23 UTC 2010


On Friday, 09 July, 2010 @07:35 zulu, Thomas Taylor scribed:
> The apparent size difference could be in how the sizes are
> calculated.  One program may use the 1K = 1000 Bytes where the other
> may use 1K = 1024Bytes which would result in the latter displaying a
> smaller size.  Also, if you use a -h/-H switch (human readable
> format) the size approximation is frequently wrong. 

I was about to mention that also... manufacturers nearly-always
use powers of 10 to express the size (e.g. 8x10^9), and even then
they often round up (only 7,875,000,000 bytes?  close enough;
call it 8GB!)... while operating systems always think in powers
of 2 (e.g. 2^33 = 8,589,934,592), though they haven't caught
up to the practice of expressing those units in IEC terms, with
an 'i' in them (e.g. KiB, MiB, GiB, TiB, PiB, EiB, et cetera).

Oh, yeah - I read it on the internets, so it MUST be true... ;-)
http://en.wikipedia.org/wiki/Binary_prefix

use -H instead of -h, e.g.
$ df -H /dev/sdb1
to display sizes in the powers-of-10 units that manufacturers use.



More information about the users mailing list