GNU bug report logs - #8294
Minor nit with dd

Previous Next

Package: coreutils;

Reported by: John Morris <jmorris <at> beau.org>

Date: Sat, 19 Mar 2011 18:27:01 UTC

Severity: normal

Tags: moreinfo

Done: era eriksson <era <at> iki.fi>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: John Morris <jmorris <at> beau.org>
To: 8294 <at> debbugs.gnu.org
Subject: bug#8294: Minor nit with dd
Date: Sat, 19 Mar 2011 13:26:04 -0500
[Message part 1 (text/plain, inline)]
Found an odd power of two size limit in dd. :)

On a 64bit platform shouldn't the following command have done the
expected thing instead of quietly clipping to 2^31?

[jmorris <at> mjolnir ~]$ dd if=/dev/zero of=/dev/null bs=3221225472 count=1
0+1 records in
0+1 records out
2147479552 bytes (2.1 GB) copied, 1.94223 s, 1.1 GB/s
[jmorris <at> mjolnir ~]$ rpm -qf `which dd`
coreutils-7.6-11.fc12.x86_64

[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 12 years and 266 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.