Red Hat Bugzilla – Bug 40569
fdisk won't read flat file images greater than 2 GB
Last modified: 2007-04-18 12:33:13 EDT
Description of problem:
fdisk won't handle large image files created with dd, returning a message
of "Unable to open <filename>" followed by the command prompt.
Steps to Reproduce:
1. dd if=/dev/hdb of=hdb.iso
2. fdisk hdb.iso
3. "Unable to open hdb.iso" is printed
Expected Results: Should be able to handle these files (under 2GB is not a
Tested on 4GB and 8GB hard drive images.
My (very limited) understanding is that _LARGEFILE_SOURCE and
_LARGEFILE64_SOURCE need to be defined, but I haven't been able to get this to
I've got a patch for this in my package now.