Bug 140933

Summary: losetup doesn't support offsets greater than 2GB
Product: [Fedora] Fedora Reporter: Luciano Rocha <lfrocha+rhbugzilla>
Component: util-linuxAssignee: Elliot Lee <sopwith>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: k.georgiou
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.12a-19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-01 22:42:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Luciano Rocha 2004-11-26 16:36:07 UTC
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:
always

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 22:42:41 UTC
Yea, you're right. It'll be fixed for future releases.