Starting the rpc.pcnfsd daemon

To start the rpc.pcnfsd daemon using the default spooling directory, use the following procedure.

  1. With a text editor, uncomment the following entry in the /etc/inetd.conf file:
    pcnfsd sunrpc_udp udp wait root /usr/sbin/rpc.pcnfsd pcnfsd 150001 1
  2. Save the file and exit the text editor.

To start the rpc.pcnfsd daemon using a directory that is different from the default:

  1. Use a text editor to add the following entry to the /etc/rc.nfs file:
    if [ -f /usr/sbin/rpc.pcnfsd ] ; then
    /usr/sbin/rpc.pcnfsd -s spooldir ; echo ' rpc.pcnfsd\c'
    fi
    where spooldir specifies the full path name of the spool directory.
  2. Save the file and exit the text editor.
  3. Using a text editor, comment the following entry in the /etc/inetd.conf file:
    #pcnfsd sunrpc_udp udp wait root /usr/sbin/rpc.pcnfsd pcnfsd 150001 1
    Placing a pound sign (#) at the beginning of the line prevents the inetd daemon from starting the rpc.pcnfsd daemon using the default spool directory.
  4. Start the rpc.pcnfsd daemon print spooler by typing the following at the command line:
    /usr/sbin/rpc.pcnfsd -s spooldir
    where spooldir specifies the full path name of the spool directory.

For more information on updating the inetd configuration database, see Configuring the inetd daemon.

Note: The default directory that the rpc.pcnfsd daemon uses cannot be changed from the inetd.conf file.