From owner-cvs-all@FreeBSD.ORG Fri Nov 9 22:27:35 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 AC00916A419; Fri, 9 Nov 2007 22:27:35 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc3-cdif2-0-0-cust64.cdif.cable.ntl.com [81.106.128.65]) by mx1.freebsd.org (Postfix) with ESMTP id 627D313C4A6; Fri, 9 Nov 2007 22:27:35 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.68 (FreeBSD)) (envelope-from ) id 1IqcJz-0004aZ-3I; Fri, 09 Nov 2007 22:27:27 +0000 Date: Fri, 9 Nov 2007 22:27:27 +0000 From: Ceri Davies To: Giorgos Keramidas Message-ID: <20071109222726.GX60860@submonkey.net> References: <200711091802.lA9I2q5R060293@repoman.freebsd.org> <20071109213405.GW60860@submonkey.net> <20071109220551.GB2235@kobe.laptop> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Y5wfsVCgeKAcINk2" Content-Disposition: inline In-Reply-To: <20071109220551.GB2235@kobe.laptop> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.16 (2007-06-09) Sender: Ceri Davies Cc: cvs-src@FreeBSD.org, remko@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 22:27:35 -0000 --Y5wfsVCgeKAcINk2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 10, 2007 at 12:05:51AM +0200, Giorgos Keramidas wrote: > On 2007-11-09 21:34, Ceri Davies wrote: > > On Fri, Nov 09, 2007 at 06:02:52PM +0000, Giorgos Keramidas wrote: > > > keramida 2007-11-09 18:02:51 UTC > > > > > > FreeBSD src repository (doc committer) > > > > > > Modified files: > > > sbin/mdconfig mdconfig.8 > > > Log: > > > Instead of hardcoding md10 as the device node in the cd9660 example, > > > use a trick submitted by Ruslan. > > > > > | @@ -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 > > > | .Ed > > > | .Sh SEE ALSO > > > | .Xr md 4 , > > > > I'm concerned that this actually misses the point, which is to create > > an md device backed by a .iso file. >=20 > Similar concerns have been raised by bde a while ago. I have a slightly > improved patch now, which describes *all* the steps of the example. >=20 > This one actually *notes* that the mdconfig command creates an md(4) > device, and then mounts it, instead of saying that we 'mount an iso'. Thanks! I like this much better, but have one little nit to pick: > -To mount an ISO 9660 CD image file: > +To create an > +.Xr md 4 > +disk out of an ISO 9660 CD image file Can you use "device" rather than "disk" here please? > +.Ns ( Fl a > +and > +.Fl t Ar vnode > +are implied), using the first available > +.Xr md 4 > +device node, and then mount the new memory disk: Ditto. Thanks! Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --Y5wfsVCgeKAcINk2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFHNN7OocfcwTS3JF8RAnZCAJ42/4bhbFRw3IVDQtoQJz7q41REGQCfeKy7 ASFoFKWZny4xjjZMYBdcItk= =lRJF -----END PGP SIGNATURE----- --Y5wfsVCgeKAcINk2--