Subject: Re: portmap=no, nfs_{client,server}=yes
To: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
From: David Brownlee <abs@mono.org>
List: tech-userlevel
Date: 11/19/1999 01:43:26
I'd actually be inclined to turn portmap on in this case.
'nfs_client' should turn on everything that is needed for
an nfs_client.
I'd support giving a warning about it though :)
David/absolute
On Fri, 19 Nov 1999, Hubert Feyrer wrote:
>
> Setting portmap=no, nfs_{client,server}=yes in /etc/rc.conf will give
> unexperienced users some grief. How about this:
>
> --- rc.BAK Fri Nov 19 01:51:48 1999
> +++ rc Fri Nov 19 01:53:47 1999
> @@ -304,6 +304,12 @@
>
> # now start the rpc servers, for NFS server/client.
> if checkyesno nfs_client || checkyesno nfs_server; then
> +
> + if ! checkyesno portmap; then
> + logger -s "WARNING: you may want to set portmap=YES in /etc/rc.conf" \
> + " for proper NFS functionality."
> + fi
> +
> echo -n 'starting nfs daemons:'
>
> nfs_locking=NO
>
>
>
> - Hubert
>
> --
> NetBSD - Better for your uptime than Viagra
>