Starting the rpc.pcnfsd daemon
To start the rpc.pcnfsd daemon using the default spooling directory, use the following procedure.
To start the rpc.pcnfsd daemon using a directory that is different from the default:
- Use a text editor to add the following entry to the /etc/rc.nfs file:
where spooldir specifies the full path name of the spool directory.if [ -f /usr/sbin/rpc.pcnfsd ] ; then /usr/sbin/rpc.pcnfsd -s spooldir ; echo ' rpc.pcnfsd\c' fi - Save the file and exit the text editor.
- Using a text editor, comment the following entry in the /etc/inetd.conf file:
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.#pcnfsd sunrpc_udp udp wait root /usr/sbin/rpc.pcnfsd pcnfsd 150001 1 - Start the rpc.pcnfsd daemon print spooler by typing
the following at the command line:
where spooldir specifies the full path name of the spool directory./usr/sbin/rpc.pcnfsd -s spooldir
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.