Description of problem: gpart can't operate on large hard disk images. Version-Release number of selected component (if applicable): gpart-0.1h-3.1 How reproducible: always Steps to Reproduce: 1. ls -l hdd.img -rw-r--r-- 1 luciano luciano 40007761920 Oct 21 12:42 hdd.img 2. gpart -n s -f -g -l disco.part.run2 -v hdd.img *** Fatal error: open(disco_doutoramento_fulano.img): File too large. 3. strace !! ... open("hdd.img", O_RDONLY) = -1 EFBIG (File too large) ... Actual results: gpart fails to open hard disk image Additional info: To make it work I changed %build in gpart.spec to: make CC='gcc -D_FILE_OFFSET_BITS=64'
Is this for FC5 or FC6? The package version indicated is for rawhide. I just want to know what release I should build an update for.
Both. I use FC5, but when compiling sources I usually get them from rawhide, so I reported for the most recent version available for Fedora that I know had problems, and for the latest Fedora Core (AFAIK, FC6 isn't out yet). # rpm -e gpart # yum -y install gpart ... Installed: gpart.i386 0:0.1h-1.2 # strace gpart hdd.img ... open("hdd.img", O_RDONLY) = -1 EFBIG (File too large)
I've built updates for FC-5 and FC-6 as well as rawhide. These will get pushed to the testing pool for updates first, then to final pending a report from you. Please post here as to whether or not the update works for you. Thanks,
The gpart on updates/testing for FC5 works correctly. I'll be checking FC6 as soon as I finish installing it.
The one on updates/testing for FC6 also works correctly. Thanks.
Thanks. I've moved the updates from testing to final for FC5 and FC6.