From owner-freebsd-questions@FreeBSD.ORG Thu Oct 10 04:18:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 93D3EAA1 for ; Thu, 10 Oct 2013 04:18:49 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (nightmare.dreamchaser.org [12.32.44.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 60E4F2BDC for ; Thu, 10 Oct 2013 04:18:48 +0000 (UTC) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [12.32.36.73]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id r9A4IfjU012426; Wed, 9 Oct 2013 22:18:41 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Message-ID: <52562AA1.4020202@dreamchaser.org> Date: Wed, 09 Oct 2013 22:18:41 -0600 From: Gary Aitken User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130730 Thunderbird/17.0.7 MIME-Version: 1.0 To: Polytropon Subject: Re: mounting a .iso image? ... missing man page References: <52561B8E.100@dreamchaser.org> <20131010052527.56e80b94.freebsd@edvax.de> In-Reply-To: <20131010052527.56e80b94.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Wed, 09 Oct 2013 22:18:41 -0600 (MDT) Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freebsd@dreamchaser.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Oct 2013 04:18:49 -0000 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 > # 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