- Unix Commands Reference
- Unix - Tutorial Home
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
autofs - Unix, Linux Command
NAME/etc/rc.d/init.d/autofs - Control Script for automounter
DESCRIPTIONautofs 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.
OPERATIONautofs 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.
SEE ALSOchris@waterf.org>, for the Debi GNU/Linux system. Edited by H. Peter Anvin <email@example.com>.