How do you write to a mounted iso file?
I have the three downloaded Mandrake 9.2 iso files mounted using the loop device. It doesn't work to mount them with the rw option. If I try to write, such as ' touch /mnt/iso1/test' I get the error message:
touch: cannot touch `test': Read-only file system
I have tried using ~/isotest/ instead of /mnt/iso1/ during testing, and also using the suid and guid options as well. Remounting with the rw option doesn't help. Looking in info mount I also noticed the rw option isn't listed for the iso9660 filetype. I was under the belief it was possible to alter mounted iso files. Is this something new, or was I wrong?
The files are located in a directory that I have write access to. ( Besides, I can't do it as root either ) I also examined the iso files with lsattr, and the immutable bit isn't used.
Here is an mtab entry for one of them to show how they are mounted:
/home/jschiwal/downloads/mandrakelinux92/MandrakeLinux-9.2beta2-CD1.i586.iso /mnt/iso1 iso9660 rw,noexec,nosuid,nodev,loop=/dev/loop0,unhide 0 0
This is my version of linux according to /proc/version:
Linux version 2.4.21-6mdk (gb@komp1.mandrakesoft.com) (gcc version 3.3.1 (Mandrake Linux 9.2 3.3.1-0.6mdk)) #1 Tue Jul 22 14:34:34 EDT 2003
Any Ideas, I hope I provided enough information.
Last edited by jschiwal; 08-22-2003 at 09:17 PM.
|