Previously Eric Gisin said:
The only entities using KB/MB/GB incorrectly are UNIX and Windows. KB=1024 is
required by POSIX.2, and Windows just went along with what UNIX did 20 years
before.
Is someone going to make them conform to standards rather than existing
practices?
P.S.: A sample from Linux 'ifconfig':
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:15460 errors:0 dropped:0 overruns:0 frame:0
TX packets:15460 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2696519 (2.5 MiB) TX bytes:2696519 (2.5 MiB)
See the 'MiB'?
'ls' on the other hand gets it partially right. It gives 'K','M','G'
as prefix. The 'K' is for binary units only, ISO says 'k' for 1000.
However the 'i' is missing, so 'ls' does it mostly wrong.
Arno