Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

automount(8) [redhat man page]

AUTOMOUNT(8)						      System Manager's Manual						      AUTOMOUNT(8)

NAME
automount - configure mount points for autofs SYNOPSIS
automount [options] mount-point map-type[,format] map [map-options] DESCRIPTION
The automount program is used to configure a mount point for autofs, the inlined Linux automounter. automount works by taking a base mount-point and map file, and using these (combined with other options) to automatically mount filesystems within the base mount-point when they are accessed in any way. The filesystems are then autounmounted after a period of inactivity. OPTIONS
-p, --pid-file Write the pid of the daemon to the specified file. -t, --timeout Set the minimum timeout, in seconds, until directories are unmounted. The default is 5 minutes. Setting the timeout to zero dis- ables unmounts completely. -v, --version Display the version number, then exit. ARGUMENTS
automount takes at least three arguments. Mandatory arguments include mount-point, map-type and map. Both mandatory and optional argu- ments are described below. mount-point Base location for autofs-mounted filesystems to be attached. This is a directory name which must already exist. map-type Type of map used for this invocation of automount. The following are valid map types: file The map is a regular text file. program The map is an executable program, which is passed a key on the command line and returns an entry on stdout if successful. yp The map is a NIS (YP) database. nisplus The map is a NIS+ database. hesiod The map is a hesiod database whose filsys entries are used for maps. ldap map names are of the form [servername:]basedn, where the optional servername is the name of the LDAP server to query, and basedn is the DN to do a subtree search under. Entries are automount objects in the specified subtree, where the cn attribute is the key (the wildcard key is "/"), and the automounterInformation attribute contains the information used by the automounter. Documentation on the schema used by this module is available online at http://docs.iplanet.com/docs/manu- als/directory/411ext/nis/mapping.htm. format Format of the map data; currently the only formats recognized are sun, which is a subset of the Sun automounter map format, and hesiod, for hesiod filesys entries. If the format is left unspecified, it defaults to sun for all map types except hesiod. map Location of mapfile to use. This is an absolute UNIX pathname in the case for maps of types file or program, and the name of a database in the case for maps of type yp, nisplus, or hesiod. options Any remaining command line arguments without leading dashes (-) are taken as options (-o) to mount. Arguments with leading dashes are considered options for the maps. NOTES
If the automount daemon catches signal USR1, it will unmount all currently unused autofs-mounted filesystems and continue running (forced unmount.) If it catches signal USR2 it will unmount all unused autofs-mounted filesystems and exit if all filesystems were unmounted. Busy filesystems will not be unmounted. SEE ALSO
autofs(5), mount(8). BUGS
A whole slew of missing desirable features (see TODO file). The documentation leaves a lot to be desired. Please report other bugs along with a detailed description to <autofs@linux.kernel.org>. To join this mailing list, send a message with the line "subscribe autofs" to <majordomo@linux.kernel.org>. AUTHOR
H. Peter Anvin <hpa@transmeta.com> 19 Jun 2000 AUTOMOUNT(8)

Check Out this Related Man Page

automountd(1M)															    automountd(1M)

NAME
automountd - autofs mount/unmount daemon SYNOPSIS
automountd [-Tvn] [-D name=value] automountd is an RPC server that answers file system mount and unmount requests from the autofs file system. It uses local files or name service maps to locate file systems to be mounted. These maps are described with the automount(1M) command. If automount finds any non-trivial entries in either the local or distributed automount maps and if the daemon is not running already, the automountd daemon is automatically invoked by automount(1M). automountd enables the svc:/network/nfs/nlockmgr service (lockd(1M)), and the svc:/network/nfs/status service (statd(1M)), if NFS mounts need to be done. At startup, the automountd daemon is invoked as is invoked as the system/filesystem/autofs:default service. See . The following options are supported: -D name=value Assign value to the indicated automount map substitution variable. These assignments cannot be used to substitute variables in the master map auto_master. -n Turn off browsing for all autofs mount points. This option overrides the -browse autofs map option on the local host. -T Trace. Expand each RPC call and display it on the standard output. -v Verbose. Log status messages to the console. USAGE
See largefile(5) for the description of the behavior of automountd when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes). /etc/auto_master Master map for automounter. /etc/default/autofs Supplies default values for parameters for automount and automountd. See autofs(4). See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ svcs(1), automount(1M), svcadm(1M), autofs(4), attributes(5), largefile(5), smf(5) The automountd service is managed by the service management facility, smf(5), under the service identifier: svc:/system/filesystem/autofs Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser- vice's status can be queried using svcs(1). If it is disabled, it is enabled by automount(1M) unless the application/auto_enable property is set to false. 3 Mar 2005 automountd(1M)
Man Page