Subject: Re: bin/10986: mount_nfs doesn't fallback to IPv4
To: Andrew Brown <atatat@atatdot.net>
From: Benedikt Meurer <bmeurer@fwdn.de>
List: netbsd-bugs
Date: 09/30/2002 19:23:41
On Mon, 30 Sep 2002, Andrew Brown wrote:

> >@@ -907,7 +921,7 @@
> > usage()
> > {
> > 	(void)fprintf(stderr, "usage: mount_nfs %s\n%s\n%s\n%s\n%s\n",
> >-"[-23bcCdiKlpPqsTUX] [-a maxreadahead] [-D deadthresh]",
> >+"[-2346bcCdiKlpPqsTUX] [-a maxreadahead] [-D deadthresh]",
> > "\t[-g maxgroups] [-I readdirsize] [-L leaseterm] [-m realm]",
> > "\t[-o options] [-R retrycnt] [-r readsize] [-t timeout]",
> > "\t[-w writesize] [-x retrans]",
> 
> hmm...i can see trouble brewing as nfsv4 rolls in.  what about using
> -v[46] for selecting the ip version instead?

Maybe, it would be the easiest way to add mount options "ipv4" and
"ipv6"?

Benedikt

-- 
Real Programmers think better when playing Adventure or Rogue