Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2009 02:54:40 +0000 (UTC)
From:      Giorgos Keramidas <keramida@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r187263 - stable/7/sbin/mdconfig
Message-ID:  <200901150254.n0F2seon061282@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: keramida (doc committer)
Date: Thu Jan 15 02:54:40 2009
New Revision: 187263
URL: http://svn.freebsd.org/changeset/base/187263

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/7/sbin/mdconfig/   (props changed)
  stable/7/sbin/mdconfig/mdconfig.8

Modified: stable/7/sbin/mdconfig/mdconfig.8
==============================================================================
--- stable/7/sbin/mdconfig/mdconfig.8	Thu Jan 15 02:52:31 2009	(r187262)
+++ stable/7/sbin/mdconfig/mdconfig.8	Thu Jan 15 02:54:40 2009	(r187263)
@@ -41,7 +41,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 5, 2008
+.Dd November 9, 2007
 .Dt MDCONFIG 8
 .Os
 .Sh NAME
@@ -230,8 +230,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 ,



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