Subject: Re: bug#12626: Bug?: dd limited to <2G read size (2G-8K) on 64 bit machine?

From: Eric Blake <[email-masked]>
Date: Fri, 12 Oct 2012 09:35:20 -0600

On 10/12/2012 09:25 AM, Linda Walsh wrote:

[please don't top-post on technical lists]

> 
> Hey guys, this is still a bug though:
> 
> Ishtar:dev/shm# dd if=4G of=4Ga bs=4G count=1
> 0+1 records in
> 0+1 records out
> 2147479552 bytes (2.1 GB) copied, 4.0274 s, 533 MB/s
> (note no error message....)

Nope, that's not a bug, but behavior required by POSIX.  You asked dd to
read _up to 4G_ for a count of exactly 1.  Just because the read was
short does not make it an error.

-- 
Eric Blake   [email-masked]    +1-919-301-3266
Libvirt virtualization library http://libvirt.org