nfs(8) CLIX nfs(8)
NAME
nfs - Starts and stops NFS
SYNOPSIS
/etc/nfs [start|stop]
DESCRIPTION
The Network File System (NFS) starts automatically at system startup if
/etc/nfs is linked to /etc/rc2.d/Sname (where name is installed as 05nfs
by default). Similarly, NFS stops automatically at system shutdown if
/etc/nfs is linked to /etc/rc0.d/Kname (where name is installed as 66nfs
by default). See rc0(8) and rc2(8) for more information.
The /etc/nfs command must be customized for a particular installation
before it can be used. The following items may need to be edited:
$YPDOMAIN The environment variable $YPDOMAIN must be set to the name of
your Network Information Service (NIS) domain. The ypinit
command is generally used to initialize this variable.
$PATH The supplied path may require modification if commands run by
/etc/nfs are in other directories.
$PROCS The $PROCS variable contains a space-separated list of names
of processes to kill when executing the stop function. If
additional daemons are used, their names can be added to this
list.
Daemons The standard NFS daemons are started at this point. Any
additional daemons or other commands may be included in this
section. Any of the standard daemons not needed can be
removed or commented out. By default, pcnfsd, ypserv, ypbind,
and yppasswdd are disabled.
EXAMPLES
1. To start the NFS software, initializing standard daemons, enter:
/etc/nfs start
2. To stop the NFS software, terminating NFS-related daemons, enter:
/etc/nfs stop
FILES
2/94 - Intergraph Corporation 1
nfs(8) CLIX nfs(8)
/etc/exports List of directories exported to NFS clients.
/etc/fstab Can contain NFS entries that are automatically mounted at
boot time.
DIAGNOSTICS
Diagnostic messages are self-explanatory.
EXIT VALUES
The nfs command returns a value of 0 if successfully started or stopped.
If an error occurs, a value of 1 is returned.
RELATED INFORMATION
Commands: domainname(1), sh(1), portmap(8), rexd(8), pcnfsd(8), mountd(8),
nfsd(8), nfsclnt(8), statd(8), lckclnt(8), lockd(8), ypserv(8), ypbind(8),
yppasswdd(8), nmountall(8), rc0(8), rc2(8)
Files: exports(4)
2 Intergraph Corporation - 2/94