if you are interested to contribute your LAB PROGRAM Please send mail to jkumaron@gmail.com

Automount Service autofs Command in Linux

Automount service autofs it is automatically mount the file system and nfs for the NFS file system. autofs uses automount daemon to mount and unmount file system configure to control. It uses master file /etc/auto.master. Each entry in /etc/auto.master consists of two or three fields. Fist filed is mount point. Second field shows the path to the secondary map file. Third field has option to control the behavior of the automount daemon.
Automount service starts by the following command.
#autofs start
Use the stop argument to stop the automount
#/sbin/service autofs stop
After mounting if the time limit is crossed it will automatically unmount and then mention file system is to be mounted next.

Related post