LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-22-2003, 09:15 PM   #1
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.
 
Old 08-23-2003, 02:21 PM   #2
danabro
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
Post

As far as I know, you can't write to a mounted ISO. I think your best bet is to mount the ISO then copy the files to a directory. You can make your changes then recreate the ISO from the directory.
 
Old 08-27-2003, 02:33 PM   #3
matronyx
LQ Newbie
 
Registered: Aug 2003
Location: Jamaica
Distribution: rh,mandrake
Posts: 6

Rep: Reputation: 0
"The ISO9660 filesystem is incapable of supporting random write access,
which is the reason that DVDs and most CD-RWs use UDF (which does)."
Look into UDF.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL CDs: made iso, mounted iso, exported dir - still asks for CD :( guest Linux - Newbie 1 04-08-2005 12:37 PM
cant write on my mounted drives Niflheim Linux - Newbie 5 03-26-2005 09:51 PM
unable to write to mounted .img file decaf Linux - General 10 03-21-2005 05:15 PM
mounted but no write permission varunk123456 Red Hat 1 03-31-2004 02:54 PM
Hi, Can I write files to mounted iso images? zhaoyoubing Linux - General 2 08-14-2003 12:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration