From owner-svn-src-stable-7@FreeBSD.ORG Thu Jan 15 02:54:40 2009 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92D9E1065670; Thu, 15 Jan 2009 02:54:40 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7F69A8FC08; Thu, 15 Jan 2009 02:54:40 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n0F2se9U061283; Thu, 15 Jan 2009 02:54:40 GMT (envelope-from keramida@svn.freebsd.org) Received: (from keramida@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n0F2seon061282; Thu, 15 Jan 2009 02:54:40 GMT (envelope-from keramida@svn.freebsd.org) Message-Id: <200901150254.n0F2seon061282@svn.freebsd.org> From: Giorgos Keramidas Date: Thu, 15 Jan 2009 02:54:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r187263 - stable/7/sbin/mdconfig X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2009 02:54:41 -0000 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 ,