samba-bugs at samba.org
2014-Sep-30  21:32 UTC
[Bug 10847] New: inconsistent units should be unified and follow SI/IEC standard
https://bugzilla.samba.org/show_bug.cgi?id=10847
           Summary: inconsistent units should be unified and follow SI/IEC
                    standard
           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
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/
-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Seemingly Similar Threads
- Being strict on differentiating between IEC prefixes and SI prefixes.
- [LLVMdev] IEEE 754-2008 | ISO/IEC TR 18037
- Help, please! Driver for APC Back-UPS 390 Watts / 700 VA, 230V, AVR, IEC Sockets
- [Bug 10580] New: Total file size reported wrong with --stats --info=progress2
- [LLVMdev] IEEE 754-2008 | ISO/IEC TR 18037
