From owner-cvs-all@FreeBSD.ORG Fri Nov 9 20:43:25 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 2443B16A474; Fri, 9 Nov 2007 20:43:25 +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 4313A13C4BA; Fri, 9 Nov 2007 20:43:24 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id AEA3645EA7; Fri, 9 Nov 2007 21:43:12 +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 AABB945684; Fri, 9 Nov 2007 21:43:06 +0100 (CET) Date: Fri, 9 Nov 2007 21:42:51 +0100 From: Pawel Jakub Dawidek To: Giorgos Keramidas Message-ID: <20071109204251.GE37371@garage.freebsd.pl> References: <200711091802.lA9I2q5R060293@repoman.freebsd.org> <20071109182623.GA37371@garage.freebsd.pl> <20071109185557.GA19905@kobe.laptop> <20071109192229.GC37371@garage.freebsd.pl> <20071109195052.GA20808@kobe.laptop> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qOrJKOH36bD5yhNe" Content-Disposition: inline In-Reply-To: <20071109195052.GA20808@kobe.laptop> 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, Ruslan Ermilov , 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 20:43:25 -0000 --qOrJKOH36bD5yhNe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 09, 2007 at 09:50:52PM +0200, Giorgos Keramidas wrote: > On 2007-11-09 20:22, Pawel Jakub Dawidek wrote: > >>> Another trick is to just skip '-t vnode' as it is assumed when -f is > >>> used. > >> > >> Nice to know :) Should I update mdconfig.8 again? I was a bit worried > >> about thhe `backquoted command` length, but it seems to fit nicely even > >> in console windows. Reducing the line-length a bit more is not strict= ly > >> necessary, but it's worth considering. Unless it would make the examp= le > >> more cryptic than useful, I guess :) > > > > Yeah, that's my concern too. On the other hand it's a nice hint to show > > in example. Well, I'll let you decided on that:) >=20 > The default type of `vnode' is explicitly described in the -f option > help. I was just a bit careless when reading the manpage, and expected > the description to be near -t type instead of -f file: >=20 > -f file > Filename to use for the vnode type memory disk. Options > -a and -t vnode are implied if not specified. >=20 > We can probably reduce the command-length, but expand the description of > the example. >=20 > How about this change? >=20 > %%% > Index: mdconfig.8 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/ncvs/src/sbin/mdconfig/mdconfig.8,v > retrieving revision 1.38 > diff -u -r1.38 mdconfig.8 > --- mdconfig.8 9 Nov 2007 18:02:51 -0000 1.38 > +++ mdconfig.8 9 Nov 2007 19:49:36 -0000 > @@ -216,9 +216,15 @@ > mount /dev/md0c /mnt > .Ed > .Pp > -To mount an ISO 9660 CD image file: > +To mount an ISO 9660 CD image file using the default > +.Ar type > +of > +.Cm vnode , > +for the memory disk and the first available > +.Xr md 4 > +device node: > .Bd -literal -offset indent > -mount -t cd9660 /dev/`mdconfig -a -t vnode -f cdimage.iso` /mnt > +mount -t cd9660 /dev/`mdconfig -a -f cdimage.iso` /mnt > .Ed > .Sh SEE ALSO > .Xr md 4 , > %%% Looks good. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --qOrJKOH36bD5yhNe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHNMZLForvXbEpPzQRAqM8AJ9bMdf30zgKhmkH9iKhJfR8kcvgxwCgievm yDtagXQk2mu6HLvnJbfZeCQ= =KUl7 -----END PGP SIGNATURE----- --qOrJKOH36bD5yhNe--