[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can I directly modify the contents of a mounted iso image?



On Thu, 2003-08-14 at 05:38, Ron Johnson wrote:
> On Wed, 2003-08-13 at 22:24, Zhao You Bing wrote:
> > If yes how to do it?
> 
> If you mount the ISO using the loopback FS, it is possible.

Are you sure? I seem to recall having tried it before and not being able
to, I would guess that the file system code wouldn't bother with
implementing write functions given the normal use for that type of
filesystem.... ohhh, I was going to be lazy, but I guess I'll try it...
let's see, find a random small directory

$ mkisofs -J -R --iso-level 3 -o ytnef.iso ytnef/
$ sudo mount -o loop ytnef.iso ytnef
$ cd ytnef
$ sudo touch newfile
touch: cannot touch `newfile': Read-only file system

nope, looks like it's not possible. Wouldn't make sense for makeisofs to
exist if it was.

-Mark



Reply to: