To disable Enhanced
AutoFS, perform the following steps:
To stop AutoFS, issue the following
command:
/sbin/init.d/nfs.client stop
In the /etc/rc.config.d/nfsconf file, make sure the NFS_CLIENT variable is set to 1 and the AUTOFS variable is set to 0; see the following:
NFS_CLIENT=1 AUTOFS=0
WARNING! Do not kill the automountd daemon with the kill command because the daemon does not terminate
gracefully. Moreover, it does not unmount AutoFS mount points before
it dies. Use the nfs.client stop script to make sure automountd dies cleanly.
After disabling AutoFS using the nfs.client stop script, you may notice that the autofskd process is still running. autofskd is the kernel daemon; it is dormant when the AUTOFS variable is 0. You can safely ignore this process.
You cannot kill autofskd; the only way to stop autofskd is to reboot.