8:autofs

From Linux Man Pages

Jump to: navigation, search
      /etc/init.d/autofs - Control Script for automounter
      
      /etc/init.d/autofs start|stop|reload|status

Contents

DESCRIPTION

      autofs  control  the operation of the automount(8) daemons running on the Linux system. Usually autofs is invoked
      at system boot time with the start parameter and at shutdown time with the stop parameter. The autofs script  can
      also manually be invoked by the system administrator to shut down, restart or reload the automounters.

OPERATION

      autofs  will  consult a configuration file /etc/auto.master (see auto.master(5)) to find mount points on the sys-
      tem. For each of those mount points a automount(8) process is started with the appropriate  parameters.  You  can
      check  the active mount points for the automounter with the /etc/init.d/autofs status command. If the auto.master
      configuration file contains a line of the form
 
      +map [options]
 
      then the script will check for an NIS map with the same name.  If such a map exists then that map  will  be  pro-
      cessed in the same way as the auto.master map, with any optional arguments.
 
      /etc/init.d/autofs reload will check the current auto.master map against running daemons. It will kill those dae-
      mons whose entries have changed and then start daemons for new or changed entries.
 
      If a map is modified then the change will become effective immediately. If the auto.master map is  modified  then
      the autofs script must be rerun to activate the changes.
 
      /etc/init.d/autofs  status  will display the current configuration and a list of currently running automount dae-
      mons.

RELATED

      automount(8), autofs(5), auto.master(5).

CATEGORY

Personal tools