This service will be undergoing maintenance at 00:00 UTC, 2016-09-28. It is expected to last about 1 hours
Bug 156659 - mount does not autosense cramfs image
mount does not autosense cramfs image
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: e2fsprogs (Show other bugs)
rawhide
All Linux
medium Severity high
: ---
: ---
Assigned To: Thomas Woerner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-02 18:51 EDT by Mike McLean
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version: 1.37-3
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-09-01 08:53:57 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
libblkid cramfs bugfix (1.69 KB, patch)
2005-05-03 08:37 EDT, Karel Zak
no flags Details | Diff

  None (edit)
Description Mike McLean 2005-05-02 18:51:47 EDT
* util-linux-2.12p-8
* glibc-2.3.5-4
* kernel-2.6.11-1.1276_FC4

Take a cramfs image (like stage2.img from the install disc) and try to 
mount it with mount -o loop.  Mount fails to autosense the fstype and the mount
fails.  If -t cramfs is added to the command line, the mount succeeds.

Furthermore, when the mount -o loop fails, the loop device is not freed. So
after running this command a few times you find yourself completely out of loop
devices.
Comment 2 Karel Zak 2005-05-03 08:37:41 EDT
Created attachment 113959 [details]
libblkid cramfs bugfix

The problem is with the libblkid (from e2fsprogs package). There's wrong cramfs
magic number. The patch contains:

- fix of cramfs magic number
- support for cramfs LABELs

I sent it to e2fsprogs upstream too.
Comment 4 Karel Zak 2005-09-01 08:53:57 EDT
Fixed in FC4|5. The problem is unimportant for RHEL3|4 where is the mount
command without libblkid. Closing...

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