Subject: Re: Updated HOWTO
To: None <port-dreamcast@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-dreamcast
Date: 09/27/2002 02:06:48
In article <200209261608.SAA01270@panther.aladdin.de>
cpg@aladdin.de wrote:

> > * At least using a NetBSD NFS server, it's not "maproot=root" but
> >   "-root=0"
> 
> On my 1.6 NetBSD machine exports(5) doesn't mention "-root=user"
> but "-maproot=user". Also the export works with -maproot.
> 
> So I think it's -maproot and not -root on NetBSD.

"See sources if it isn't mentioned in man pages."

In usr.sbin/mountd/mountd.c:do_opt():

>		} else if (cpoptarg && (!strcmp(cpopt, "maproot") ||
>		    !(allflag = strcmp(cpopt, "mapall")) ||
>		    !strcmp(cpopt, "root") || !strcmp(cpopt, "r"))) {
>			usedarg++;
>			parsecred(cpoptarg, cr);
 :

So both -maproot=user and -root=user (and maybe also -r=user) should work.
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp