Home page logo

wireshark logo Wireshark mailing list archives

Re: SI vs. IEC prefixes
From: Joerg Mayer <jmayer () loplof de>
Date: Mon, 2 Dec 2013 11:01:17 +0100

On Mon, Dec 02, 2013 at 03:34:33AM +0000, Christopher Maynard wrote:
For example, if a user wants to set a maximum file size, then I think it's
more intuitive to the user to specify and expect SI, powers of 10, units to
apply rather than the IEC, powers of 2, units.  This might end up being a
bit strange on some OS's (Windows, for example) to see a 977KB file size for
file that's actually 1MB in size, but apparently at least one OS, Mac OS X
version 10.6 will now use MB for all file and disk sizes so that same 1MB
file will actually be correctly reported as such.  This to me makes the most
sense, and so I'm in favor of changing the code to (and prefixes back to) SI

This could also be said of the capture buffer size, which is currently
incorrectly reported as MB (when it's really MiB).

What do others think before I make any changes to SI units?

Please change to SI in these cases.


Joerg Mayer                                           <jmayer () loplof de>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]