daemon handling autofs mount requests
automountd daemon is responsible for handling
mount requests, parsing maps, and mounting filesystems they specify. On
automountd forks into background and waits
for kernel requests. When a request is received,
automountd forks a child process. The child process
parses the appropriate map and mounts filesystems accordingly. Then it signals
the kernel to release blocked processes that were waiting for the mount.
- Define a variable.
- For indirect mounts, only create subdirectories if there are no wildcard
automountd creates all the subdirectories it can.
Users may not realize that the wildcard map entry makes it possible to
access directories that have not yet been created.
- Limit the number of forked
and thus the number of mount requests being handled in parallel. The
default is 30.
- Debug mode: increase verbosity and do not daemonize.
- Specify mount options. Options specified here will be overridden by
options entered in maps or
- Increase verbosity.
automountd utility exits 0 on success,
and >0 if an error occurs.
automountd daemon appeared in
automountd was developed by Edward
under sponsorship from the FreeBSD Foundation.