add/remove files to an ISO image and save the changes to the same iso file.

Is there a way to mount a CD/DVD ISO image as writable filesystem?
Or is there a software like Winiso or Magiciso for linux able to to that?

My goal is to add or remove some files to an ISO image without recreating the entire ISO image from scratch. I know that I can copy the entire contents of the iso image in a directory, add the files and then recreate the iso image, but this takes too much time and it's not efficient at all. With Winiso or Magiciso (for Windows) I simply open the file, add/remove something, save. The file is saves in a second (it is not rewritten entirely). Is there a software like this for linux? Even non-free.

The perfect solution would be to mount the iso as writable... but I couldn't achieve this.

If I do (as root): mount -o loop -t iso9660 filename.iso /mnt/iso

the /mnt/iso looks like writable, but if I try to write something inside I get:

touch /mnt/iso/test
touch: cannot touch `/mnt/iso/test': Read-only file system

I tried also: mount -o loop,rw -t iso9660 filename.iso /mnt/iso
it is still readonly...

I'm using Ubuntu Linux, kernel-image 2.6.12-10-k7. But if you tell me that there is a patched module or writable support in a new kernel it's not a problem for me to recompile it and try. Just let me know ;-) Thanks.
LVL 2
firepolAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ravenplCommented:
> Is there a way to mount a CD/DVD ISO image as writable filesystem?
No. The iso filesystem id RO by design.

> My goal is to add or remove some files to an ISO image without recreating the entire ISO image from scratch.
Unfortunatelly that's what You have to do.

> Is there a software like this for linux
Not aware of, but maybe others...
Artysystem administratorCommented:
I aggree with ravenpl, you should recreate ISO each time you modify any file or directory.
ps15Commented:
You could run MagicISO with wine, that seems to work for me ...
At least the Command-Line "miso.exe" works ..
 (no Burning capability, but hey, enough for what you wanted ... ;) )

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.