From owner-svn-src-head@FreeBSD.ORG Thu May 28 20:00:07 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F056E1065B6E; Thu, 28 May 2009 20:00:06 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 9C4E88FC24; Thu, 28 May 2009 20:00:06 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 3E33246B0D; Thu, 28 May 2009 16:00:06 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 0B2AA8A028; Thu, 28 May 2009 16:00:05 -0400 (EDT) From: John Baldwin To: Peter Jeremy Date: Thu, 28 May 2009 15:59:54 -0400 User-Agent: KMail/1.9.7 References: <200905272202.n4RM2s2M013427@svn.freebsd.org> <20090528194355.GB1331@server.vk2pj.dyndns.org> In-Reply-To: <20090528194355.GB1331@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905281559.55169.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Thu, 28 May 2009 16:00:05 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: svn-src-head@freebsd.org, Rick Macklem , svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r192934 - head/usr.sbin/mountd X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2009 20:00:08 -0000 On Thursday 28 May 2009 3:43:55 pm Peter Jeremy wrote: > On 2009-May-27 22:02:54 +0000, Rick Macklem wrote: > > Modify mountd to handle the experimental nfs server as well as the > > regular one. It now takes a "-4" command line argument to force it > > to use the experimental server. > > I also feel that '-4' is likely to lead to confusion as to whether the > option refers to NFSv4 or IPv4. > > How about implementing a '-V n', where 'n' indicates the NFS version > (with '-2' redefined as a deprecated equivalent to '-V 2'). This > leaves '-v' for possible future used as some sort of verbose flag and > both allows explicit specification of NFSv3 (presumably the default > will change from NFSv3 to NFSv4 at some point - by which time we need > a way to request NFSv3) as well as possible future NFS versions (NFSv5 > anyone?). The NFS server typically has not been limited to a single version. Instead, the client chooses which version to use. And the choice is really between the old NFSv[23] server and the new NFSv[234] server. -V 2 or -V 3 would be ambiguous since both servers implement NFSv2 and NFSv3. I'm not a huge fan of -4, but I'm not sure there is a better option that accurately reflects "--the-newer-one" or "--NFSng". -- John Baldwin