Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2009 15:59:54 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Peter Jeremy <peterjeremy@optushome.com.au>
Cc:        svn-src-head@freebsd.org, Rick Macklem <rmacklem@freebsd.org>, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r192934 - head/usr.sbin/mountd
Message-ID:  <200905281559.55169.jhb@freebsd.org>
In-Reply-To: <20090528194355.GB1331@server.vk2pj.dyndns.org>
References:  <200905272202.n4RM2s2M013427@svn.freebsd.org> <20090528194355.GB1331@server.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 28 May 2009 3:43:55 pm Peter Jeremy wrote:
> On 2009-May-27 22:02:54 +0000, Rick Macklem <rmacklem@freebsd.org> 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



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