mount an ISO image on rw mode

Nathan Kinkade nkinkade at ub.edu.bz
Thu Mar 11 06:40:56 PST 2004


On Thu, Mar 11, 2004 at 01:30:35PM +0300, Odhiambo Washington wrote:
> Hello users,
> 
> Perhaps I am just being stupid, doing a lot of things at the same time,
> thus losing it.
> Am I just dreaming by imagining that I can mount an ISO image with write
> access?
> 
> I have done
> 
> [root at ns2]#vnconfig /dev/vn0c /wananchi/FreeSBIE-1.0-i386.iso
> [root at ns2]#mount_cd9660 /dev/vn0c /freesbie
> 
> This mounts the image in read-only mode. However, I would like to modify
> a few files on the image before writing it to a CD.
> 
> The man page for mount says that I could use -o -w to achieve a write
> mode. Does this also apply to ISO iamages? I was thinking that once
> mounted, they should behave like regular files, no?
> 
> -Wash

I don't have an answer to this, but wanted to chime in because I have
had the same issue in the past.  I had once heard a friend tell me that
he used to create ISO images in this very way in Linux by mounting an
ISO image on a (Linux) loop device and then copy files to the image.  It
seems like it could be a flexible and convenient way to quickly create
an ISO image at random, but I've never been able to get FreeBSD to mount
and ISO image rw using either vnconfig or mdconfig.  Maybe there are
some practical considerations that we are overlooking?

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040311/e0bd8a08/attachment.bin


More information about the freebsd-questions mailing list