From owner-freebsd-questions@FreeBSD.ORG Thu Oct 10 04:42:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9DBC3E15 for ; Thu, 10 Oct 2013 04:42:17 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 61FD72D5C for ; Thu, 10 Oct 2013 04:42:16 +0000 (UTC) Received: from r56.edvax.de (port-92-195-74-65.dynamic.qsc.de [92.195.74.65]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id CDC6B3CAA8; Thu, 10 Oct 2013 06:42:08 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r9A4g2Yo008500; Thu, 10 Oct 2013 06:42:02 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 10 Oct 2013 06:42:02 +0200 From: Polytropon To: freebsd@dreamchaser.org Subject: Re: mounting a .iso image? ... missing man page Message-Id: <20131010064202.9dd1dd3e.freebsd@edvax.de> In-Reply-To: <52562AA1.4020202@dreamchaser.org> References: <52561B8E.100@dreamchaser.org> <20131010052527.56e80b94.freebsd@edvax.de> <52562AA1.4020202@dreamchaser.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Oct 2013 04:42:17 -0000 On Wed, 09 Oct 2013 22:18:41 -0600, Gary Aitken wrote: > for the record, that's: > mdconfig -a -t vnode -u 0 -f Correct, I noticed too late that -a was missing. But "man mdconfig" mentions all parts that are needed. :-) > > # 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 The manpage doesn't seem to explicitely mention this, but if I remember correctly, it actually matters, as you said. By the way, the manpage mentions mount -t cd9660 /dev/`mdconfig -f cdimage.iso` /mnt as an interesting construction in the EXAMPLES section. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...