Subject: Re: bin/12802: mount_nfs forces ipv6 if interface is capable
To: Adam Laurie <adam@algroup.co.uk>
From: Frank van der Linden <fvdl@wasabisystems.com>
List: tech-userlevel
Date: 05/02/2001 00:11:17
On Wed, May 02, 2001 at 12:01:05AM +0100, Adam Laurie wrote:
> Bernd Ernesti wrote:
> > 
> > Hi,
> > 
> > I don't think that adding a -4 option for ipv4 is a good idea.
> > This would collide with NFS Version 4, whenever we get it.
> > 
> 
> in that case, since nfsd uses -6 to enable ipv6, maybe it would make
> more sense to reverse the polarity and use -6 on mount_nfs as well...?

The way to go is to implement '-o proto=<blah>', where <blah>
is udp6, tcp6, udp, tcp etc (anything from /etc/netconfig), as
Solaris does it. I wanted to do this, but I think there was
something in getmntopt() that didn't like it.

- Frank
-- 
Frank van der Linden                           fvdl@wasabisystems.com
======================================================================
Quality NetBSD CDs, Support & Service.   http://www.wasabisystems.com/