Pádraig Brady <[EMAIL PROTECTED]> writes:

> There is support for binary multiples in dd,

Yes, but that's for the operands of dd, e.g., "dd bs=512M" talks about
a block size 512 * 1024 * 1024 bytes, as opposed to "dd bs=512MB"
which uses 512 * 1000 * 1000.  But Dat Head is asking for binary
multiples in the stderr messages, e.g.,

   $ dd bs=512M count=1024 if=/dev/zero of=/dev/null
   1024+0 records in
   1024+0 records out
   549755813888 bytes (550 GB) copied, 13.7008 s, 40.1 GB/s

Currently these messages always use powers of 10, not 2, even if the
block size and counts are powers of 2.  Dat Head wants that last line
to say "(512 GiB)" and "37.4 GiB/s".  That will require a new option,
I think.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to