Bug 10847 - inconsistent units should be unified and follow SI/IEC standard
inconsistent units should be unified and follow SI/IEC standard
Status: NEW
Product: rsync
Classification: Unclassified
Component: core
3.1.1
All All
: P5 trivial
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-30 21:32 UTC by Jonas Stein
Modified: 2014-09-30 21:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Stein 2014-09-30 21:32:15 UTC
rsync prints units not conistent. As shown in a typical output like in
https://bugzilla.samba.org/show_bug.cgi?id=10580



I suggest 

* to follow SI prefix standard [1] and add a single space between the value and the unit: 

3.13G -> 3.13 GB



* to note all units in a unique way:
now it is "K bytes/sec" and "kB/s" 


* to chose between binary IEC [2] units and SI units (perhaps ask the user for an option? --iec --si) and wite a short note in the man page like 1 kB = 1000 Byte
or 1 KiB = 1024 B.


* to note "seconds" with the SI symbol "s" [3]



[1] http://en.wikipedia.org/wiki/Metric_prefix
[2] http://physics.nist.gov/cuu/Units/binary.html
[3] http://www.bipm.org/en/measurement-units/