                               PCNFSD for Sun 4.1

-------------------------------------------------------------------------------


To install PCNFSD, follow these steps:

   * NOTE: You must be root to run or install pcnfsd.

   * If you are installing on a Sparc machine copy the file called
     "rpc.pcnfsd.Z" to your Sparc machine. Uncompress and move this file to
     /usr/etc/rpc.pcnfsd:
	uncompress rpc.pcnfsd.Z
	mv rpc.pcnfsd /usr/etc/rpc.pcnfsd

   * Run rpc.pcnfsd from the command line or edit the "/etc/rc.local" file to
     make it start up at boot time.

     Look for the following lines in the rc.local file.

     #
     # if /etc/exports file exists become nfs server
     #
     if [ -f /etc/exports ]; then
         > /etc/xtab
         exportfs -a
         nfsd 8 &        echo -n ' nfsd'
         if [ -f /etc/security/passwd.adjunct ]; then
             # Warning! Turning on port checking may deny access to
             # older versions (pre-3.0) of NFS clients.
             rpc.mountd
             echo "nfs_portmon/W1" | adb -w /vmunix /dev/kmem >/dev/null 2>&1
         else
             rpc.mountd -n
         fi
     fi

   * Add the line "/usr/etc/rpc.pcnfsd" after the line "rpc.mountd".

     For example:

     #
     # if /etc/exports file exists become nfs server
     #
     if [ -f /etc/exports ]; then
         > /etc/xtab
         exportfs -a
         nfsd 8 &        echo -n ' nfsd'
         if [ -f /etc/security/passwd.adjunct ]; then
             # Warning! Turning on port checking may deny access to
             # older versions (pre-3.0) of NFS clients.
             rpc.mountd
             echo "nfs_portmon/W1" | adb -w /vmunix /dev/kmem >/dev/null 2>&1
               /usr/etc/rpc.pcnfsd
         else
             rpc.mountd -n
             /usr/etc/rpc.pcnfsd
         fi
     fi

   * Your installation is now complete.
