svn commit: r377746 - head/ports-mgmt/pkg

Matthew Seaman matthew at FreeBSD.org
Fri Jan 23 20:36:50 UTC 2015


On 2015/01/23 18:53, Stephen Hurd wrote:
> Baptiste Daroussin wrote:
>>   - Use SI symbols (MiB instead of MB)
> Just a quick nit, SI doesn't define storage units (bits nor bytes - and
> B is bel in SI), and the 'Mi' et al. prefixes aren't SI either, they're
> IEC... so this is a change from incorrectly used SI prefixes to
> correctly used IEC ones.
Technically, no, they're not strictly part of SI, but they're endorsed by
the BIPM for use alongside SI units
(http://www.bipm.org/en/publications/si-brochure/chapter3.html).
and more importantly, the BIPM forbids the use of the SI prefixes to mean
powers-of-2 multipliers.

B for 'byte' is an accepted usage, and unlikely to be confused with B for
'Bel' (also not an SI unit, and in any case almost never seen as anything
other than dB.)  I don't believe this to be a problem.  If we ever have to
worry about measuring anything to do with package management in dB, then
we can certainly revisit the whole subject.

    Cheers,

    Matthew
 


More information about the svn-ports-all mailing list