From owner-cvs-all@FreeBSD.ORG Fri Nov 9 18:26:52 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 840AD16A41B; Fri, 9 Nov 2007 18:26:52 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 0528713C4B5; Fri, 9 Nov 2007 18:26:51 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 986D645F42; Fri, 9 Nov 2007 19:26:39 +0100 (CET) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id CDF1A45E8F; Fri, 9 Nov 2007 19:26:34 +0100 (CET) Date: Fri, 9 Nov 2007 19:26:23 +0100 From: Pawel Jakub Dawidek To: Giorgos Keramidas Message-ID: <20071109182623.GA37371@garage.freebsd.pl> References: <200711091802.lA9I2q5R060293@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <200711091802.lA9I2q5R060293@repoman.freebsd.org> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/mdconfig mdconfig.8 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2007 18:26:52 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 09, 2007 at 06:02:52PM +0000, Giorgos Keramidas wrote: > keramida 2007-11-09 18:02:51 UTC >=20 > FreeBSD src repository (doc committer) >=20 > Modified files: > sbin/mdconfig mdconfig.8=20 > Log: > Instead of hardcoding md10 as the device node in the cd9660 example, > use a trick submitted by Ruslan. > =20 > MFC after: 1 day > =20 > Revision Changes Path > 1.38 +2 -3 src/sbin/mdconfig/mdconfig.8 >=20 > http://cvsweb.FreeBSD.org/src/sbin/mdconfig/mdconfig.8.diff?r1=3D1.37&r2= =3D1.38&f=3Dh > --- src/sbin/mdconfig/mdconfig.8 2007/05/18 13:57:17 1.37 > +++ src/sbin/mdconfig/mdconfig.8 2007/11/09 18:02:51 1.38 > @@ -39,9 +39,9 @@ > .\" @(#)vnconfig.8 8.1 (Berkeley) 6/5/93 > .\" from: src/usr.sbin/vnconfig/vnconfig.8,v 1.19 2000/12/27 15:30:29 > .\" > -.\" $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sbin/mdconfig/mdconfig.= 8,v 1.37 2007/05/18 13:57:17 keramida Exp $ > +.\" $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sbin/mdconfig/mdconfig.= 8,v 1.38 2007/11/09 18:02:51 keramida Exp $ > .\" > -.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 Another trick is to just skip '-t vnode' as it is assumed when -f is used. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHNKZPForvXbEpPzQRAk+nAJ4q6EMVFzmzprqqsNTY1vQxawO40QCg2GGj 9mEcxZPYvD4GDLSmNkj8p/M= =5uGs -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--