Tutorials Point

  Unix for Beginners
  Unix Shell Programming
  Advanced Unix
  Unix Useful References
  Unix Useful Resources
  Selected Reading

Copyright © 2014 by tutorialspoint

  Home     References     Discussion Forums     About TP  

autofs - Unix, Linux Command

previous next AddThis Social Bookmark Button



/etc/rc.d/init.d/autofs - Control Script for automounter


/etc/rc.d/init.d/autofs start|stop|restart|reload|status


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.


autofs will consult a configuration file /etc/auto.master (see auto.master(5)) by default to find mount points on the system. For each of those mount points automount(8) will mount and start a thread, with the appropriate parameters, to manage the mount point.

/etc/rc.d/init.d/autofs reload will check the current auto.master map against running daemons. It will kill those daemons 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/rc.d/init.d/autofs status will display the status of, automount(8) ,running or not.


This manual page was written by Christoph Lameter <chris@waterf.org>, for the Debi GNU/Linux system. Edited by H. Peter Anvin <hpa@transmeta.com>.

previous next Printer Friendly