summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2007-11-09 18:02:51 +0000
committerkeramida <keramida@FreeBSD.org>2007-11-09 18:02:51 +0000
commite46a6747e9ed3facdd22569f16238fad69a0eadb (patch)
tree38995e9724602a83f70ab652b7bce61c76652f74
parent3cba516a543cecaaa94a8c1b64ac1683c276dc33 (diff)
downloadFreeBSD-src-e46a6747e9ed3facdd22569f16238fad69a0eadb.zip
FreeBSD-src-e46a6747e9ed3facdd22569f16238fad69a0eadb.tar.gz
Instead of hardcoding md10 as the device node in the cd9660 example,
use a trick submitted by Ruslan. MFC after: 1 day
-rw-r--r--sbin/mdconfig/mdconfig.85
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/mdconfig/mdconfig.8 b/sbin/mdconfig/mdconfig.8
index 498a5d1..4ff0faf 100644
--- a/sbin/mdconfig/mdconfig.8
+++ b/sbin/mdconfig/mdconfig.8
@@ -41,7 +41,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd May 18, 2007
+.Dd November 9, 2007
.Dt MDCONFIG 8
.Os
.Sh NAME
@@ -218,8 +218,7 @@ mount /dev/md0c /mnt
.Pp
To mount an ISO 9660 CD image file:
.Bd -literal -offset indent
-mdconfig -a -t vnode -u 10 -f cdimage.iso
-mount_cd9660 /dev/md10 /mnt
+mount -t cd9660 /dev/`mdconfig -a -t vnode -f cdimage.iso` /mnt
.Ed
.Sh SEE ALSO
.Xr md 4 ,
OpenPOWER on IntegriCloud