Subject: PCNFS
To: None <gt@prosun.first.gmd.de>
From: Gordon W. Ross <gwr@mc.com>
List: current-users
Date: 02/09/1995 15:33:06
> From: gt@prosun.first.gmd.de (Gerd Truschinski)
> Date: Sat, 4 Feb 1995 04:43:07 +0100 (MET)

> Hi there,
> 
> is there anyone who could tell me where I could get the newest 
> release of the 'PCNFSD'?
> 
> I have an old(? from 1/29/93) one but I cant get it to live.
> Is there a -current one?

I have the sources published with Sun's PCNFS-4.0 if you want them.
They build OK on NetBSD-current (after trivial changes).
No, there is not one in NetBSD itself.  (core: Should there be?)

> One problem is that it wants to have '-lrpc'. Is '-lrpcsvc' better?
> And it need '-lcrypt'. I am from Germany. May be that has something to
> do with that.

The Sun version built OK for me using:
	CFLAGS= -g -DUSER_CACHE -DWTMP -DUSE_YP
	LIBS= -lrpcsvc -lcrypt

so yes, you need -lcrypt from somewhere.  (Get the Aussie one?)

> And now, where did I have to install that stuff? And what system files
> have to be changed? 

Install rpc.pcnfsd in /usr/libexec, create the file /etc/pcnfsd.conf
(see pcnfsd.8c), and add the following line to /etc/inetd.conf

pcnfsd/2 dgram rpc/udp wait root /usr/libexec/rpc.pcnfsd rpc.pcnfsd

Gordon