From owner-svn-src-stable-6@FreeBSD.ORG Thu Jan 15 03:35:51 2009 Return-Path: Delivered-To: svn-src-stable-6@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 895EA1065670; Thu, 15 Jan 2009 03:35:51 +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 76B1A8FC08; Thu, 15 Jan 2009 03:35:51 +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 n0F3Zpd5062643; Thu, 15 Jan 2009 03:35:51 GMT (envelope-from keramida@svn.freebsd.org) Received: (from keramida@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n0F3ZpNX062642; Thu, 15 Jan 2009 03:35:51 GMT (envelope-from keramida@svn.freebsd.org) Message-Id: <200901150335.n0F3ZpNX062642@svn.freebsd.org> From: Giorgos Keramidas Date: Thu, 15 Jan 2009 03:35:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-6@freebsd.org X-SVN-Group: stable-6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r187269 - stable/6/sbin/mdconfig X-BeenThere: svn-src-stable-6@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 6-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2009 03:35:52 -0000 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 ,