Re: [PATCH 01/11] man2/shmget.2: fix limit units suffix from SI to IEC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2023-02-08 03:59, Alejandro Colomar wrote:
On 2/8/23 04:58, Brian Inglis wrote:
TL;DR: They are bit/byte unit prefixes kibi..., ... but abstract value suffix
symbols, which is how I think of them, and mainly how we use them. Perhaps we
should just call them all multiples or symbosl, as we only sometimes(/rarely?)
use them as unit prefixes (and seldom written out, only to explain the weird Xi
notation)? Feel free to change the titles and log messages as you see fit.

Indeed, I had doubts about using them as suffixes because that's incorrect according to the SI, but it makes sense and improves documentation, so I'm
fine with the use as suffixes now. However, I'm still concerned with calling
them suffixes. How about multipliers? Does it make sense to you?
[BT;DT: Many discussions about units over the decades, including various
*industry* conventions about "accepted" units, values, and conversion factors,
invariant regardless of SI and CODATA.

ISO/BIPM etc. uses SI to mean decimal *metric* unit prefixes (and notes that SI
does not support non-physical units of information) and IEC to mean binary unit
prefixes for bits, bytes, and also allows Hertz so far. See refs from:

https://en.wikipedia.org/wiki/Binary_prefix#cite_note-bipm-book-91

https://www.bipm.org/documents/20126/41483022/SI-Brochure-9-EN.pdf#page=29

Thanks. It now makes sense. Looks like the SI talks about them, but only takes them as defined by IEC, and doesn't incorporate them as their own.
So, using IEC seems correct (as SI does itself).

BTW, this was one of the few patches that I received inline :/

On 2023-02-07 16:44, Alejandro Colomar wrote:
The subject is not correct, IMO.  The SI also defines the Ki, Mi, ... prefixes for binary multipliers.
Also, they are prefixes, not suffixes.

Thanks Alex,

I have regenerated with format-patch -v2 --inline and will later edit and resend as suggested and hopefully you will get what you expect to review.

--
Take care. Thanks, Brian Inglis			Calgary, Alberta, Canada

La perfection est atteinte			Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter	not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer	but when there is no more to cut
			-- Antoine de Saint-Exupéry



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux