Torsten Reuss wrote:
Hi,
I've been searching the Net for quite a while to find an answer to this, but I found quite different answers (and often enough no answers).
Can Linux mount an iso image read-write via a loopback device?
Here is what I am trying and what doesn't work:
dogbert:/# ls -l /tmp/test.iso -rw-rw---- 1 root root 1409024 Sep 15 14:49 /tmp/test.iso
dogbert:/# ls -ld /iso drwxrwx--- 2 root root 1024 Sep 15 14:41 /iso
dogbert:/# mount -t iso9660 -o rw,loop /tmp/test.iso /iso
dogbert:/# mount /dev/hda5 on / type ext2 (rw,errors=remount-ro) proc on /proc type proc (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/vg00/lvol1 on /usr type xfs (rw) /dev/vg00/lvol2 on /home type xfs (rw) /dev/vg00/lvol3 on /var type xfs (rw) /dev/vg00/lvol4 on /tmp type xfs (rw) /dev/vg00/lvol5 on /usr/src type xfs (rw) /dev/vg00/lvol6 on /mnt/mp3 type xfs (rw) /dev/vg00/lvol7 on /var/mqm type xfs (rw) /dev/vg00/lvol8 on /opt type xfs (rw) /dev/vg00/lvol9 on /gtpc type xfs (rw) /dev/vg00/lvol10 on /oracle type xfs (rw) /dev/hda9 on /mnt/shared type vfat (rw,nosuid,gid=100,umask=007) /proc/bus/usb on /proc/bus/usb type usbdevfs (rw) /tmp/test.iso on /iso type iso9660 (rw,loop=/dev/loop0)
dogbert:/# cat /proc/mounts rootfs / rootfs rw 0 0 /dev/root / ext2 rw 0 0 proc /proc proc rw 0 0 devpts /dev/pts devpts rw 0 0 /dev/vg00/lvol1 /usr xfs rw 0 0 /dev/vg00/lvol2 /home xfs rw 0 0 /dev/vg00/lvol3 /var xfs rw 0 0 /dev/vg00/lvol4 /tmp xfs rw 0 0 /dev/vg00/lvol5 /usr/src xfs rw 0 0 /dev/vg00/lvol6 /mnt/mp3 xfs rw 0 0 /dev/vg00/lvol7 /var/mqm xfs rw 0 0 /dev/vg00/lvol8 /opt xfs rw 0 0 /dev/vg00/lvol9 /gtpc xfs rw 0 0 /dev/vg00/lvol10 /oracle xfs rw 0 0 /dev/hda9 /mnt/shared vfat rw,nosuid 0 0 /proc/bus/usb /proc/bus/usb usbdevfs rw 0 0 /dev/loop0 /iso iso9660 ro 0 0
dogbert:/# touch /iso/x touch: creating `/iso/x': Read-only file system
Commands above were executed as root. The image was created using mkisofs -J -R. Kernel is a 2.4.21.There's nothing special in /var/log/syslog.
Any help appreciated, above all an anwer to the question if this "should" work, or if iso9660 is really read-only only.
Thanks, Torsten
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]