Bug 40569 - fdisk won't read flat file images greater than 2 GB
Summary: fdisk won't read flat file images greater than 2 GB
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: util-linux
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Elliot Lee
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-14 17:16 UTC by bcling
Modified: 2007-04-18 16:33 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-07-16 14:32:49 UTC
Embargoed:


Attachments (Terms of Use)

Description bcling 2001-05-14 17:16:43 UTC
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.

How reproducible:
Always

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
problem).

Additional info:

Tested on 4GB and 8GB hard drive images.

Comment 1 bcling 2001-07-16 14:32:45 UTC
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
work.

Comment 2 Elliot Lee 2001-07-18 18:47:25 UTC
I've got a patch for this in my package now.


Note You need to log in before you can comment on or make changes to this bug.