Bug 177776 - nash losetup fails on large files
Summary: nash losetup fails on large files
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: 4
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Jones
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-13 21:04 UTC by Ed Swierk
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-02-03 23:05:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ed Swierk 2006-01-13 21:04:37 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051201 Fedora/1.5-1.1.fc4.nr Firefox/1.5

Description of problem:
I find it useful to be able to create a large loopback root filesystem.  Unfortunately nash losetup fails when attempting to create a loopback device for a file >= 2 GB in size.


Version-Release number of selected component (if applicable):
mkinitrd-4.2.15-1

How reproducible:
Always

Steps to Reproduce:
Example:

# dd if=/dev/zero of=testfile bs=1M seek=2048 count=0
# echo losetup /dev/loop0 testfile | /sbin/nash --force
(forcing normal run)
Red Hat nash version 4.2.15 starting
losetup: failed to open testfile: 27


Expected Results:  Running the same test with seek=2047 instead of 2048 works fine.

Additional info:

The util-linux losetup has no problem handling large files.


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