Incorrect "kB" unit displayed for file sizes

Bug #115861 reported by Omegatron
0
Affects Status Importance Assigned to Milestone
amule (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Binary package hint: amule

Amule displays file sizes and data rates using units like "1 kB = 1,024 bytes" and "1 MB = 1,048,576 bytes", etc. For instance, a 744762 byte file is displayed as "727 kB".

When written with a lowercase k, though, "kB" means 1,000 bytes, as per SI. If you're going to use the traditional "KB" = 1,024 bytes notation, it should be uppercase.

(Technically, this is also incorrect, and the international SI/IEC standard is:
"kB" = 1,000 bytes, as used in apt-get, fdisk, etc.
"KiB" = 1,024 bytes, as used in BitTornado, GParted, ifconfig, etc.

Linux man page: http://www.annodex.net/cgi-bin/man/man2html?units+7
GNU coreutils manual: http://www.gnu.org/software/coreutils/manual/html_chapter/coreutils_2.html#SEC4

But this usage is not yet universally accepted.)

Even if you don't accept the standard, though, using lowercase k to mean 1,024 is incorrect; it should be uppercase "KB".

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Thanks for your report. I've reported this bug in the upstream tracker:
http://forum.amule.org/index.php?topic=12678.0

Regards
Emilio

Changed in amule:
importance: Undecided → Low
Revision history for this message
Omegatron (omegatron) wrote :

"I've reported this bug in the upstream tracker:"

I like how Kry didn't even read what I wrote.

Even if you *don't accept the standard*, it's still wrong. It should be capitalized traditional KB or standardized KiB. Lowercase kB is wrong no matter what.

Revision history for this message
Omegatron (omegatron) wrote :

And if you don't care about the exact meaning of the symbols, why are you even bothering to report the file size? :-)

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Closing as won't fix, as per upstream discussion

Changed in amule:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.