kilobyte unit spelled "K bytes"

Started by Daniel Gustafssonover 6 years ago5 messagesdocs
Jump to latest
#1Daniel Gustafsson
daniel@yesql.se

In the documentation there is a single instance of “K bytes” being used to
denote kilobytes (kB or kilobyte used everywhere else), which isn’t really
correct as the k should be lowercased. The attached diff fixes this to make it
consistent with the rest of the documentation. I opted for kilobytes rather
than kB to match the rest of the document in question.

cheers ./daniel

Attachments:

kilobytes.diffapplication/octet-stream; name=kilobytes.diff; x-unix-mode=0644Download+1-1
#2Michael Paquier
michael@paquier.xyz
In reply to: Daniel Gustafsson (#1)
Re: kilobyte unit spelled "K bytes"

On Thu, Aug 29, 2019 at 12:15:51PM +0200, Daniel Gustafsson wrote:

In the documentation there is a single instance of “K bytes” being used to
denote kilobytes (kB or kilobyte used everywhere else), which isn’t really
correct as the k should be lowercased. The attached diff fixes this to make it
consistent with the rest of the documentation. I opted for kilobytes rather
than kB to match the rest of the document in question.

From doc/, we have that:
$ git grep kB | wc -l
40
$ git grep kilobytes | wc -l
21

Now, your choice makes sense to me, because 4 lines down the maximum
refers to "megabyte". Do others have opinions to offer?
--
Michael

#3Nikolay Samokhvalov
samokhvalov@gmail.com
In reply to: Daniel Gustafsson (#1)
Re: kilobyte unit spelled "K bytes"

Related:
/messages/by-id/20160730001838.GA22405@momjian.us

Although, 3 years passed since then. I constantly see "kiB", "MiB", etc in
many discussions. And some very popular programs already migrated to it.

For example, in Linux, "top" uses "KiB Mem", "KiB Swap".

On Thu, Aug 29, 2019 at 3:16 AM Daniel Gustafsson <daniel@yesql.se> wrote:

Show quoted text

In the documentation there is a single instance of “K bytes” being used to
denote kilobytes (kB or kilobyte used everywhere else), which isn’t really
correct as the k should be lowercased. The attached diff fixes this to
make it
consistent with the rest of the documentation. I opted for kilobytes
rather
than kB to match the rest of the document in question.

cheers ./daniel

#4Daniel Gustafsson
daniel@yesql.se
In reply to: Nikolay Samokhvalov (#3)
Re: kilobyte unit spelled "K bytes"

On 30 Aug 2019, at 02:34, Nikolay Samokhvalov <samokhvalov@gmail.com> wrote:

Related: /messages/by-id/20160730001838.GA22405@momjian.us </messages/by-id/20160730001838.GA22405@momjian.us

Although, 3 years passed since then. I constantly see "kiB", "MiB", etc in many discussions. And some very popular programs already migrated to it.

Not sure what you imply with that, the consensus from that thread was to not
change to KiB/KB etc?

cheers ./daniel

#5Michael Paquier
michael@paquier.xyz
In reply to: Daniel Gustafsson (#4)
Re: kilobyte unit spelled "K bytes"

On Fri, Aug 30, 2019 at 10:37:26AM +0200, Daniel Gustafsson wrote:

Not sure what you imply with that, the consensus from that thread was to not
change to KiB/KB etc?

Yes, that's what I recall as well on the matter. I have just applied
your original patch on HEAD.
--
Michael