From: SourceForge.net <no...@so...> - 2009-02-10 20:52:37
|
Bugs item #2013435, was opened at 2008-07-08 14:22 Message generated for change (Settings changed) made by henryn 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: Daemons (Windows) Group: v0.7.x (release) >Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: Adrien Beau (abeau) Assigned to: Henry N. (henryn) 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. ---------------------------------------------------------------------- >Comment By: Henry N. (henryn) Date: 2009-02-10 21:52 Message: Will be usable in next release. I close this bug now. ---------------------------------------------------------------------- Comment By: Henry N. (henryn) Date: 2008-10-26 23:48 Message: Thanks for this report. Read only mount for such files are supported in next coLinux version now. Committed as SVN revision r1129 for the devel version 0.8.0 and available from next autobuild. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=622063&aid=2013435&group_id=98788 |