bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dd (coreutils) 5.97 used power of 10 not 2 for calculating MB


From: Eric Blake
Subject: Re: dd (coreutils) 5.97 used power of 10 not 2 for calculating MB
Date: Mon, 22 Jan 2007 20:09:27 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Dat Head on 1/22/2007 11:20 AM:
> dd if=/dev/zero of=/dev/null count=100 bs=1024k
> 100+0 records in
> 100+0 records out
> 104857600 bytes (105 MB) copied, 0.00933139 seconds, 11.2 GB/s
> ---------------------------^^^ should be 100 MB (or was this done on
> purpose to
> match disk manufacturers lies!?)

Thanks for the report.  According to 'dd --help', "MB 1000*1000, M
1024*1024", so the result matches documentation.  However, some of the
coreutils (such as ls) support --human-readable vs. --si to choose between
power of 10^3 and power of 2^10, maybe it would be worth adding such an
option to dd.

Also, you may want to consider upgrading - the latest stable version is 6.7.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFtXxm84KuGfSFAYARApl4AJ49uaFdKxYS7WSwkW5ghn229RIorwCfXAIw
RsYREfM+iCwHPpmhHS5UvrU=
=Wl0l
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]