[Bug 10847] New: inconsistent units should be unified and follow SI/IEC standard

samba-bugs at samba.org samba-bugs at samba.org
Tue Sep 30 15:32:16 MDT 2014


           Summary: inconsistent units should be unified and follow SI/IEC
           Product: rsync
           Version: 3.1.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: news at jonasstein.de
         QAContact: rsync-qa at samba.org

rsync prints units not conistent. As shown in a typical output like in

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
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/

Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the rsync mailing list