GNU Info

Info Node: (am-utils.info)Amd Command Line Options

(am-utils.info)Amd Command Line Options


Next: Filesystem Types Prev: Mount Maps Up: Top
Enter node , (file) or (file)node

Amd Command Line Options
************************

   Many of Amd's parameters can be set from the command line.  The
command line is also used to specify automount points and maps.

   The general format of a command line is

     amd [options] [{ directory map-name [-map-options] } ...]

   For each directory and map-name given or specified in the `amd.conf'
file, Amd establishes an automount point.  The "map-options" may be any
sequence of options or selectors--Note: Location Format.  The
"map-options" apply only to Amd's mount point.

   `type:=toplvl;cache:=mapdefault;fs:=${map}' is the default value for
the map options.  Default options for a map are read from a special
entry in the map whose key is the string `/defaults'.  When default
options are given they are prepended to any options specified in the
mount-map locations as explained in Note: Map Defaults.

   The "options" are any combination of those listed below.

   Once the command line has been parsed, the automount points are
mounted.  The mount points are created if they do not already exist, in
which case they will be removed when Amd exits.  Finally, Amd
disassociates itself from its controlling terminal and forks into the
background.

   Note: Even if Amd has been built with `-DDEBUG' (via `configure
--enable-debug'), it will still background itself and disassociate
itself from the controlling terminal.  To use a debugger it is
necessary to specify `-D nodaemon' on the command line.  However, even
with all of this, mounts and unmounts are performed in the background,
and Amd will always fork before doing them.  Therefore, debugging what
happens closely during un/mounts is more challenging.

   _All_ of Amd's command options (save `-F' and `-T') can be specified
in the `amd.conf' file. Note: Amd Configuration File.  If Amd is
invoked without any command line options, it will default to using the
configuration file `/etc/amd.conf', if one exists.

-a Option
Automount directory.
-c Option
Cache timeout interval.
-d Option
Domain name.
-k Option
Kernel architecture.
-l Option
Log file.
-n Option
Hostname normalization.
-o Option
Operating system version.
-p Option
Output process id.
-r Option
Restart existing mounts.
-t Option
Kernel RPC timeout.
-v Option
Version information.
-w Option
Wait interval after failed unmount.
-x Option
Log options.
-y Option
NIS domain.
-C-Option
Cluster name.
-D-Option
Debug flags.
-F Option
Amd configuration file.
-H Option
Show brief help.
-O-Option
Operating system name.
-S Option
Lock executable pages in memory.
-T-Option
Set tag for configuration file.

automatically generated by info2www version 1.2.2.9