svn commit: r192934 - head/usr.sbin/mountd
jhb at freebsd.org
Thu May 28 20:00:08 UTC 2009
On Thursday 28 May 2009 3:43:55 pm Peter Jeremy wrote:
> On 2009-May-27 22:02:54 +0000, Rick Macklem <rmacklem at 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
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 server and the new NFSv 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".
More information about the svn-src-all