Red Hat Bugzilla – Bug 156659
mount does not autosense cramfs image
Last modified: 2007-11-30 17:11:05 EST
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
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.
Fixed in FC4|5. The problem is unimportant for RHEL3|4 where is the mount
command without libblkid. Closing...