Changes the configuration of the system to stop running NFS daemons.
The rmnfs command changes the current configuration of the system so that the /etc/rc.nfs file is not executed on system restart. In addition, you can direct the command to stop NFS daemons that are currently running.
Item | Description |
---|---|
-B | Removes the entry in the inittab file and stops NFS daemons that are currently executing. This flag is the default. |
-I | Removes the entry in the inittab file that starts NFS daemons on system restart. |
-N | Stops immediately NFS daemons and does not change the inittab file. |
To stop all of the NFS daemons immediately, enter:
rmnfs -N
This command will not change the inittab file.