Wireshark mailing list archives

Re: SI vs. IEC prefixes


From: Graham Bloice <graham.bloice () trihedral com>
Date: Mon, 2 Dec 2013 10:31:49 +0000

On 2 December 2013 10:01, Joerg Mayer <jmayer () loplof de> wrote:

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
units.

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.



Somewhat UK centric, and possibly NSFW in some jurisdictions, but the
official internet units of measure are here:
http://www.theregister.co.uk/2007/08/24/vulture_central_standards/
___________________________________________________________________________
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

Current thread: