Bug 156659 - mount does not autosense cramfs image
mount does not autosense cramfs image
Product: Fedora
Classification: Fedora
Component: e2fsprogs (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Thomas Woerner
Depends On:
  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:
Last Closed: 2005-09-01 08:53:57 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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
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.