you can't, iso9660 is a read only file system. you should either:
1 copy the contents of the cd to a writable file system like the one on your hard drive, make the changes, and write a new iso; or 2. use something like unionfs which enables you to "overlay" two file systems, then make an iso from the result. On Wed, 24 Nov 2004 11:25:41 +1300 Robert Fraser <[EMAIL PROTECTED]> wrote: > > 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 > ********************************************************************** -- Nick Rout <[EMAIL PROTECTED]>
