bug-coreutils
[Top][All Lists]
Advanced

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

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


From: Eric Blake
Subject: bug#12626: Bug?: dd limited to <2G read size (2G-8K) on 64 bit machine?
Date: Fri, 12 Oct 2012 09:35:20 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1

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   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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