emerge --sync reports something like === Number of files: 181405 Number of files transferred: 2226 Total file size: 331.60M bytes Total transferred file size: 4.00M bytes Literal data: 4.00M bytes Matched data: 0 bytes File list size: 4.27M File list generation time: 0.001 seconds File list transfer time: 0.000 seconds Total bytes sent: 68.58K Total bytes received: 8.48M sent 68.58K bytes received 8.48M bytes 683.92K bytes/sec total size is 331.60M speedup is 38.79 === Units are confusing here. KB and KiB stands for 1014 Byte kB stands for 1000 Byte on the other hand MB stands only for 1000 kB I suggest to unify the output to SI standard kB and MB, or KiB and MiB. There should be a space between value and unit. Example: Total file size: 331.60 MB Reproducible: Always
This output is from `rsync --stats --human-readable`. It seems that there is no option (in rsync 3.1.1) to use KiB / MiB / GiB units in output. You should ask rsync upstream to implement this feature (unconditionally or controlled by a new option).
The output that you are complaining about comes directly from rsync. Briefly looking at the rsync man page, I only see one option related to units, which is the -h/--human-readable option.
Thank you so far for your hints. The suggestion can now be found in bugzilla on: https://bugzilla.samba.org/show_bug.cgi?id=10847 I think you are right, that the bug can not (should not) be fixed in the emerge code, but in the rsync source.