You can't do it like that.

Try making a directory, mount the iso, copy all the files from the iso to
the directory, make your changes, then use mkisofs to make a new iso.

mkisofs -r -o newiso.iso /tmp/filesfromoldiso


-----Original Message-----
From: Robert Fraser [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 24 November 2004 11:26 a.m.
To: [EMAIL PROTECTED]
Subject: Can't mount an iso on loop device to be rw



Hi

I am having trouble replacing a file inside of an iso file.

Probably a fundamental lack of knowledge on my part, but I am running the
following command 

mount -w -oloop /tmp/blah.iso /mnt/cdrom

I want to replace a file in blah.iso, then write blah.iso to a cdrom

Mount says the fs is rw, but when I try to replace the file, it tells me the
fs is read only and I can't replace the file.

I notice that on mount, /mnt/cdrom goes to r-xr-xr-x  on umount, /mnt/cdrom
reverts to rwxr-xr-x

I haven't had this problem with doing this before - does anyone know what is
likely to be causing this behaviour?  Box is running RH9.

Thanks
Robert
 

**********************************************************************
Check out our web site:
http://www.cdhb.govt.nz

This email and attachments have been scanned for content and viruses 
and is believed to be clean
This email or attachments may contain confidential or legally 
privileged information intended for the sole use of the addressee(s). 
Any use, redistribution, disclosure, or reproduction of this message, 
except as intended, is prohibited. If you received this email in error, 
please notify the sender and remove all copies of the message, 
including any attachments. Any views or opinions expressed in this 
email (unless otherwise stated) may not represent those of Canterbury 
District Health Board
**********************************************************************

Reply via email to