From owner-cvs-src@FreeBSD.ORG Fri Nov 9 21:01:11 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B210E16A525; Fri, 9 Nov 2007 21:01:11 +0000 (UTC) (envelope-from remko@elvandar.org) Received: from galain.elvandar.org (galain.elvandar.org [217.148.169.56]) by mx1.freebsd.org (Postfix) with ESMTP id 8B30B13C4B2; Fri, 9 Nov 2007 21:01:11 +0000 (UTC) (envelope-from remko@elvandar.org) Received: from localhost ([127.0.0.1] helo=galain.elvandar.org) by galain.elvandar.org with esmtpa (Exim 4.67) (envelope-from ) id 1IqaDI-000Pl5-MU; Fri, 09 Nov 2007 21:12:24 +0100 Received: from 195.64.94.120 (SquirrelMail authenticated user remko) by galain.elvandar.org with HTTP; Fri, 9 Nov 2007 21:12:24 +0100 (CET) Message-ID: <56068.195.64.94.120.1194639144.squirrel@galain.elvandar.org> Date: Fri, 9 Nov 2007 21:12:24 +0100 (CET) From: "Remko Lodder" To: "Giorgos Keramidas" User-Agent: SquirrelMail/1.4.11 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Ruslan Ermilov , src-committers@freebsd.org, Pawel Jakub Dawidek , cvs-all@freebsd.org, cvs-src@freebsd.org Subject: Re: cvs commit: src/sbin/mdconfig mdconfig.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: remko@elvandar.org List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2007 21:01:11 -0000 On Fri, November 9, 2007 8:50 pm, 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 >>> strictly >>> necessary, but it's worth considering. Unless it would make the >>> example >>> 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:) > > 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: > > -f file > Filename to use for the vnode type memory disk. Options > -a and -t vnode are implied if not specified. > > We can probably reduce the command-length, but expand the description of > the example. > > How about this change? > > %%% > Index: mdconfig.8 > =================================================================== > 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 , > %%% > > sounds OK to me! -- Kind regards, Remko Lodder ** remko@elvandar.org FreeBSD ** remko@FreeBSD.org /* Quis custodiet ipsos custodes */