Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Nov 2007 22:27:27 +0000
From:      Ceri Davies <ceri@submonkey.net>
To:        Giorgos Keramidas <keramida@FreeBSD.org>
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
Message-ID:  <20071109222726.GX60860@submonkey.net>
In-Reply-To: <20071109220551.GB2235@kobe.laptop>
References:  <200711091802.lA9I2q5R060293@repoman.freebsd.org> <20071109213405.GW60860@submonkey.net> <20071109220551.GB2235@kobe.laptop>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <ceri@submonkey.net> 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--



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