On Tue, Jul 05, 2011 at 10:49:35AM -0400, der Mouse wrote:
[...]
> >          SCSI1 (0,0,0) (sda) - 16.4 GB ATA SanDisk SDCFX3-1
> >          SCSI1 (0,1,0) (sdb) - 240.1 GB ATA OWC Mercury Extr
> 
> I note 16.4 versus 16007; this reinforces my theory - 16007*1000*1024
> is 16391.168, which would reasonably round off to 16.4 thousand.
> (Depressing that Debian has bought into disk manufcaturers' attempts to
> redefine the gigabyte...
[...]

In their defense, SI defines GB as 10^9 and IEEE calls 2^30 GiB to
differentiate. Ugly, perhaps, but IEC, NIST et al are in support.

http://en.wikipedia.org/wiki/Gigabyte

There has been constant debate within Debian on unit correctness in
output of various tools, some of which are stuck dealing with a
two-character limitation on unit columns and thus open to
unfortunate vaguery. In most cases this isn't a Debian decision so
much as trying to wrangle a consensus out of thousands of upstream
software authors (like herding cats, but worse)...

   fungi@yig:~$ ls -l xyzzy
   -rw-r--r-- 1 fungi fungi 91802764 Aug 12  2008 xyzzy
   fungi@yig:~$ ls -hl xyzzy
   -rw-r--r-- 1 fungi fungi 88M Aug 12  2008 xyzzy
   fungi@yig:~$ ls -hl --si xyzzy
   -rw-r--r-- 1 fungi fungi 92M Aug 12  2008 xyzzy
   fungi@yig:~$ du -h xyzzy
   88M     xyzzy
   fungi@yig:~$ du -h --si xyzzy
   92M     xyzzy
   fungi@yig:~$ df /
   Filesystem           1K-blocks      Used Available Use% Mounted on
   rootfs               976773184 132157824 844615360  14% /
   fungi@yig:~$ df -h /
   Filesystem            Size  Used Avail Use% Mounted on
   rootfs                932G  127G  806G  14% /
   fungi@yig:~$ df -h --si /
   Filesystem             Size   Used  Avail Use% Mounted on
   rootfs                 1.1T   136G   865G  14% /

http://wiki.debian.org/ConsistentUnitPrefixes
http://lists.debian.org/debian-devel/2007/06/thrd2.html#00700
http://bugs.debian.org/370702
http://bugs.debian.org/534408
http://bugs.debian.org/594004
[...ad nauseum...]

-- 
{ IRL(Jeremy_Stanley); WWW(http://fungi.yuggoth.org/); PGP(43495829);
WHOIS(STANL3-ARIN); SMTP(fu...@yuggoth.org); FINGER(fu...@yuggoth.org);
MUD(kin...@katarsis.mudpy.org:6669); IRC(fu...@irc.yuggoth.org#ccl);
ICQ(114362511); YAHOO(crawlingchaoslabs); AIM(dreadazathoth); }
_______________________________________________
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to