[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8294: Minor nit with dd
From: |
Paul Eggert |
Subject: |
bug#8294: Minor nit with dd |
Date: |
Sat, 19 Mar 2011 19:03:48 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 |
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'.