Red Hat Bugzilla – Bug 170379
RHEL3: losetup (and mount -o loop) wrap at 2GB
Last modified: 2007-11-30 17:07:08 EST
+++ This bug was initially created as a clone of Bug #168989 +++
Description of problem:
If you specify an offset value larger than 2GB (2^32) for losetup or mount -o
loop you will not get the expected result (i.e. it will wrap).
-- Additional comment from email@example.com on 2005-09-21 17:15 EST --
Ah.. good catch. The offset option in losetup in FC3, RHEL3 and RHEL4 is based
on "int" datetype. The problem is fixed in FC4.
In FC3 it will be fixed in next util-linux update.
*** Bug 171200 has been marked as a duplicate of this bug. ***
Created attachment 124843 [details]
patch to fix losetup wrap at 2GB
This issue is on Red Hat Engineering's list of planned work items
for the upcoming Red Hat Enterprise Linux 3.8 release. Engineering
resources have been assigned and barring unforeseen circumstances, Red
Hat intends to include this item in the 3.8 release.