Date: Thu, 10 Oct 2013 05:25:27 +0200 From: Polytropon <freebsd@edvax.de> To: freebsd@dreamchaser.org Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: mounting a .iso image? ... missing man page Message-ID: <20131010052527.56e80b94.freebsd@edvax.de> In-Reply-To: <52561B8E.100@dreamchaser.org> References: <52561B8E.100@dreamchaser.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. :-) 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 # mount -o ro -t cd9660 /dev/md0 /mnt/tmp ... do stuff ... # umount /mnt/tmp # mdconfig -u 0 -d An alternative would be to use tar to extract the files from the image, change whatever you want, and use mkisofs afterwards to rebuild the (new) image, in case you want to modify its content. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131010052527.56e80b94.freebsd>