Date: Wed, 09 Oct 2013 22:18:41 -0600 From: Gary Aitken <freebsd@dreamchaser.org> To: Polytropon <freebsd@edvax.de> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: mounting a .iso image? ... missing man page Message-ID: <52562AA1.4020202@dreamchaser.org> In-Reply-To: <20131010052527.56e80b94.freebsd@edvax.de> References: <52561B8E.100@dreamchaser.org> <20131010052527.56e80b94.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/09/13 21:25, Polytropon wrote:
> On Wed, 09 Oct 2013 21:14:22 -0600, Gary Aitken wrote:
>> Seems like it must be possible to mount a cd9660 image somehow without
>> burning an actual disc?
>
> Of course. :-)
I guess knowing it's possible is a start;
couldn't figure out where to look to get the magic combination.
> It is possible by using a virtual node "connected" to the
> ISO file. Without having tested, according to your example:
>
> # mdconfig -u 0 -t vnode -f /hd1/Downloads/FreeBSD/9_1/FreeBSD-9.1-RELEASE-amd64-disc1.iso
for the record, that's:
mdconfig -a -t vnode -u 0 -f <file>
> # mount -o ro -t cd9660 /dev/md0 /mnt/tmp
> ... do stuff ...
> # umount /mnt/tmp
> # mdconfig -u 0 -d
and that one is
mdconfig -d -u 0
order appears to be important
Thanks again,
Gary
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52562AA1.4020202>
