svn commit: r187269 - stable/6/sbin/mdconfig
Giorgos Keramidas
keramida at FreeBSD.org
Wed Jan 14 19:35:52 PST 2009
Author: keramida (doc committer)
Date: Thu Jan 15 03:35:51 2009
New Revision: 187269
URL: http://svn.freebsd.org/changeset/base/187269
Log:
MFC 173507 from /head
Instead of hardcoding md10 as the device node in the cd9660
example, use a trick submitted by Ruslan.
Modified:
stable/6/sbin/mdconfig/ (props changed)
stable/6/sbin/mdconfig/mdconfig.8
Modified: stable/6/sbin/mdconfig/mdconfig.8
==============================================================================
--- stable/6/sbin/mdconfig/mdconfig.8 Thu Jan 15 03:28:17 2009 (r187268)
+++ stable/6/sbin/mdconfig/mdconfig.8 Thu Jan 15 03:35:51 2009 (r187269)
@@ -226,8 +226,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 ,
More information about the svn-src-stable-6
mailing list