From: SourceForge.net <no...@so...> - 2008-07-08 12:22:34
|
Bugs item #2013435, was opened at 2008-07-08 14:22 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=622063&aid=2013435&group_id=98788 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: v0.7.x (release) Status: Open Resolution: None Priority: 5 Private: No Submitted By: Adrien Beau (abeau) Assigned to: Nobody/Anonymous (nobody) Summary: cobd does not work with read-only files Initial Comment: I have created an ISO file with the Windows port of cdrtools, and set it read-only (an old habit). I then tried to mount it in the guest OS (a Slackware 12.1 installation initrd that I patched to include coLinux devices and kernel modules): ~# mount /dev/hdc /cdrom mount: you must specify the filesystem type ~# mount -t iso9660 /dev/hdc /cdrom mount: /dev/hdc: can't read superblock After solving other problems with my hda and hdb devices (it turns out I was trying to use whole-disk images instead of filesystem images) and discovering hdc had a different problem after all, I was a bit lucky to try first to remove the read-only flag from the ISO file in Windows. It solved my problem immediately: ~# mount /dev/hdc /cdrom ~# mount proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) /dev/hdc on /var/log/mount type iso9660 (rw) (Note that in the Slackware installation initrd, /cdrom is a symlink to /var/log/mount.) My configuration, in case I missed a parameter (having read config.c, I doubt it): # --- configuration start --- kernel="C:\Linux\colinux\vmlinux" hda1="C:\Linux\slackware\colinux\slackware-12.1-colinux.partition" hdb1="C:\Linux\slackware\colinux\swap.partition" hdc="C:\Linux\slackware\colinux\install\slackware-12.1.iso" initrd="C:\Linux\slackware\colinux\install\initrd.img" root=/dev/hda1 rw # --- configuration end --- This is a minor bug, but I believe the current behavior should be documented at the very least. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=622063&aid=2013435&group_id=98788 |