aboutsummaryrefslogtreecommitdiff
path: root/sbin/mdconfig
diff options
context:
space:
mode:
authorGiorgos Keramidas <keramida@FreeBSD.org>2007-11-09 18:02:51 +0000
committerGiorgos Keramidas <keramida@FreeBSD.org>2007-11-09 18:02:51 +0000
commit284096f773463e9fc6a7a0154c66ce8f5f3fe2ce (patch)
tree38995e9724602a83f70ab652b7bce61c76652f74 /sbin/mdconfig
parentbf2105c4a934e397ff14c7ea7d96a6ba91db03f4 (diff)
downloadsrc-284096f773463e9fc6a7a0154c66ce8f5f3fe2ce.tar.gz
src-284096f773463e9fc6a7a0154c66ce8f5f3fe2ce.zip
Instead of hardcoding md10 as the device node in the cd9660 example,
use a trick submitted by Ruslan. MFC after: 1 day
Notes
Notes: svn path=/head/; revision=173507
Diffstat (limited to 'sbin/mdconfig')
-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 498a5d1fa2ac..4ff0faff08ce 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 ,