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


Message #8 received at 8294 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: John Morris <jmorris <at> beau.org>
Cc: 8294 <at> debbugs.gnu.org
Subject: Re: bug#8294: Minor nit with dd
Date: Sat, 19 Mar 2011 19:03:48 -0700
On 03/19/2011 11:26 AM, John Morris wrote:
> On a 64bit platform shouldn't the following command have done the
> expected thing instead of quietly clipping to 231?

It depends on what your platform's 64-bit 'read'
system call does.  My guess is that your platform's
'read' syscall refuses to read more than
2**31 - 2**12 bytes at a time from /dev/zero,
so the problem (if any :-) is with 'read', not
with 'dd'.




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.