Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2013 06:42:02 +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:  <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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 09 Oct 2013 22:18:41 -0600, Gary Aitken wrote:
> for the record, that's:
>           mdconfig -a -t vnode -u 0 -f <file>

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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131010064202.9dd1dd3e.freebsd>