Bugzilla will be upgraded to version 5.0 on December 2, 2018. The outage period for the upgrade will start at 0:00 UTC and have a duration of 12 hours
Bug 140933 - losetup doesn't support offsets greater than 2GB
losetup doesn't support offsets greater than 2GB
Product: Fedora
Classification: Fedora
Component: util-linux (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Elliot Lee
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2004-11-26 11:36 EST by Luciano Rocha
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version: 2.12a-19
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-12-01 17:42:41 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Luciano Rocha 2004-11-26 11:36:07 EST
Description of problem:
The losetup util doesn't support offsets greater than 2GB. It reports the setted offset to
exactly 2^31-1

Version-Release number of selected component (if applicable):
rpm -qf /sbin/losetup util-linux-2.12a-16

How reproducible:

Steps to Reproduce:
1. losetup -o 20737457152 /dev/loop4 img
2. losetup /dev/loop4

Actual results:
/dev/loop4: [fd02]:147457 (void.img), offset 2147483647
Expected results:
correct offset

Additional info:
Comment 1 Elliot Lee 2004-12-01 17:42:41 EST
Yea, you're right. It'll be fixed for future releases.

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