Bug 5335

Summary: dd fails on 2GB disks (write only)
Product: [Retired] Red Hat Linux Reporter: michaelg
Component: glibcAssignee: Cristian Gafton <gafton>
Status: CLOSED DEFERRED QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: ewt
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-02-16 21:13:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description michaelg 1999-09-23 18:35:44 UTC
When reading large files > 2Gb it works fine, but writing
gives an error when using SEEK.

E.g. a 4 Gb disk on /dev/hdc:

# dd if=/dev/zero of=/dev/hdc bs=1M seek=4000 count=1

gives an invalid arguement error.

Thanks
Michael

Comment 1 Erik Troan 2000-02-16 21:13:59 UTC
This can't be fixed until 64-bit file support is integrated into the standard
Linux kernel due to dd semantics (we need ftruncate64())