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, ...
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to