Home Man
Today's Posts

Linux & Unix Commands - Search Man Pages

RedHat 9 (Linux i386) - man page for automount (redhat section 8)

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

       automount - configure mount points for autofs

       automount [options] mount-point map-type[,format] map [map-options]

       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.

       -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 disables unmounts completely.

       -v, --version
	      Display the version number, then exit.

       automount takes at least three arguments.  Mandatory arguments include  mount-point,  map-
       type and map.  Both mandatory and optional arguments are described below.

	      Base  location  for autofs-mounted filesystems to be attached.  This is a directory
	      name which must already exist.

	      Type of map used for this invocation of automount.  The  following  are  valid  map

	      file   The map is a regular text file.

		     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.

		     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 sub-
		     tree search under.  Entries are automount objects in the specified  subtree,
		     where  the  cn attribute is the key (the wildcard key is "/"), and the auto-
		     mounterInformation attribute contains the	information  used  by  the  auto-
		     mounter.	Documentation  on  the	schema	used  by this module is available
		     online   at   http://docs.iplanet.com/docs/manuals/directory/411ext/nis/map-

       format Format of the map data; currently the only formats
	      recognized  are  sun, which is a subset of the Sun automounter map format, and hes-
	      iod, 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.

	      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.

       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.

       autofs(5), mount(8).

       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 <major-

       H. Peter Anvin <hpa@transmeta.com>

					   19 Jun 2000				     AUTOMOUNT(8)

All times are GMT -4. The time now is 01:53 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password