Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2009 17:11:17 -0700
From:      Michael David Crawford <mdc@prgmr.com>
Cc:        "questions@freebsd.org" <questions@freebsd.org>
Subject:   Re: Change one file in an ISO image
Message-ID:  <4AB17EA5.7090900@prgmr.com>
In-Reply-To: <4AB17409.4000601@gmail.com>
References:  <a0a7749502c43d4b8927c0ce2174e45a.squirrel@webmail.superhero.nl> <4AB17409.4000601@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bryant Eadon wrote:
> Have you tried mounting it as a vnode ? and mounting it R/W ?
> 
> mdconfig -a -t vnode -f file.img
> mount -t <type> /dev/md0 /mnt/rw_dvd
> 
> Where <type> may be cd9660 or some other format of the image.
> 
> I haven't seen reported success with this method (checked with various 
> google searches), but perhaps there's something along these lines *will* 
> work.

Pardon my political incorrectness...

If you can't get it to work under FreeBSD, I'm pretty sure that it works 
under Linux:

   mount -t iso9660 -o loop file.img /mnt

(I'm not sure that "iso9660" is the right filesystem type, but "man 
mount" will tell you.)

Once mounted that way you can use it like any other filesystem.

I actually did this once, but it was years ago.

Mike
-- 
Michael David Crawford
mdc@prgmr.com

    prgmr.com - We Don't Assume You Are Stupid.

       Xen-Powered Virtual Private Servers: http://prgmr.com/xen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AB17EA5.7090900>