1998-08-23 22:07:21 +00:00
|
|
|
.\"
|
2016-11-11 02:42:53 +00:00
|
|
|
.\" Copyright (c) 1997-2014 Erez Zadok
|
1998-08-23 22:07:21 +00:00
|
|
|
.\" Copyright (c) 1990 Jan-Simon Pendry
|
|
|
|
.\" Copyright (c) 1990 Imperial College of Science, Technology & Medicine
|
|
|
|
.\" Copyright (c) 1990 The Regents of the University of California.
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" This code is derived from software contributed to Berkeley by
|
|
|
|
.\" Jan-Simon Pendry at Imperial College, London.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
2016-11-11 02:42:53 +00:00
|
|
|
.\" 3. Neither the name of the University nor the names of its contributors
|
1998-08-23 22:07:21 +00:00
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
|
|
|
.\"
|
2016-11-11 02:42:53 +00:00
|
|
|
.\" File: am-utils/scripts/amd.conf.5
|
1999-09-15 05:45:17 +00:00
|
|
|
.\" $FreeBSD$
|
1998-08-23 22:07:21 +00:00
|
|
|
.\"
|
2016-02-29 16:45:10 +00:00
|
|
|
.Dd February 26, 2016
|
1998-09-12 04:04:59 +00:00
|
|
|
.Dt AMD.CONF 5
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm amd.conf
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nd
|
|
|
|
.Xr amd 8
|
|
|
|
configuration file
|
1998-09-12 04:04:59 +00:00
|
|
|
.Sh SYNOPSIS
|
2001-01-10 14:01:39 +00:00
|
|
|
.Nm
|
1998-09-12 04:04:59 +00:00
|
|
|
.Sh DESCRIPTION
|
2016-02-29 16:45:10 +00:00
|
|
|
.Bf -symbolic
|
|
|
|
This configuration file is obsolete.
|
|
|
|
Users are advised to use
|
|
|
|
.Xr autofs 5
|
|
|
|
instead.
|
|
|
|
.Ef
|
|
|
|
.Pp
|
1998-08-23 22:07:21 +00:00
|
|
|
The
|
1998-09-12 04:04:59 +00:00
|
|
|
.Nm
|
2007-12-07 20:16:21 +00:00
|
|
|
file is the configuration file for
|
|
|
|
.Xr amd 8 ,
|
|
|
|
as part of the am-utils suite.
|
1998-09-12 04:04:59 +00:00
|
|
|
.Pp
|
2007-12-07 20:16:21 +00:00
|
|
|
The
|
1998-09-12 04:04:59 +00:00
|
|
|
.Nm
|
2007-12-07 20:16:21 +00:00
|
|
|
file
|
1998-08-23 22:07:21 +00:00
|
|
|
contains runtime configuration information for the
|
2001-01-10 14:01:39 +00:00
|
|
|
.Xr amd 8
|
1998-08-23 22:07:21 +00:00
|
|
|
automounter program.
|
1998-09-12 04:04:59 +00:00
|
|
|
.Sh FILE FORMAT
|
2005-06-16 20:21:03 +00:00
|
|
|
The file consists of sections and parameters.
|
|
|
|
A section begins with the
|
1998-08-23 22:07:21 +00:00
|
|
|
name of the section in square brackets and continues until the next section
|
2005-06-16 20:21:03 +00:00
|
|
|
begins or the end of the file is reached.
|
2007-12-07 20:16:21 +00:00
|
|
|
Sections contain parameters of the
|
|
|
|
form
|
|
|
|
.Dq Ar name No = Ar value .
|
1998-09-12 04:04:59 +00:00
|
|
|
.Pp
|
2007-12-07 20:16:21 +00:00
|
|
|
The file is line-based \[em] that is, each newline-terminated line represents
|
2005-06-16 20:21:03 +00:00
|
|
|
either a comment, a section name or a parameter.
|
|
|
|
No line-continuation
|
1998-08-23 22:07:21 +00:00
|
|
|
syntax is available.
|
1998-09-12 04:04:59 +00:00
|
|
|
.Pp
|
1998-08-23 22:07:21 +00:00
|
|
|
Section, parameter names and their values are case sensitive.
|
1998-09-12 04:04:59 +00:00
|
|
|
.Pp
|
2005-06-16 20:21:03 +00:00
|
|
|
Only the first equals sign in a parameter is significant.
|
|
|
|
Whitespace before
|
|
|
|
or after the first equals sign is discarded.
|
|
|
|
Leading, trailing and
|
|
|
|
internal whitespace in section and parameter names is irrelevant.
|
|
|
|
Leading
|
|
|
|
and trailing whitespace in a parameter value is discarded.
|
|
|
|
Internal
|
1998-08-23 22:07:21 +00:00
|
|
|
whitespace within a parameter value is not allowed, unless the whole
|
2005-06-16 20:21:03 +00:00
|
|
|
parameter value is quoted with double quotes as in
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Ar name No = Qq Li "some\ value" .
|
1998-09-12 04:04:59 +00:00
|
|
|
.Pp
|
1998-08-23 22:07:21 +00:00
|
|
|
Any line beginning with a pound sign (#) is ignored, as are lines containing
|
|
|
|
only whitespace.
|
1998-09-12 04:04:59 +00:00
|
|
|
.Pp
|
1998-08-23 22:07:21 +00:00
|
|
|
The values following the equals sign in parameters are all either a string
|
|
|
|
(no quotes needed if string does not include spaces) or a boolean, which may
|
2007-12-07 20:16:21 +00:00
|
|
|
be given as
|
|
|
|
.Dq Li yes/no .
|
2005-06-16 20:21:03 +00:00
|
|
|
Case is significant in all values.
|
|
|
|
Some items such as
|
1998-08-23 22:07:21 +00:00
|
|
|
cache timeouts are numeric.
|
1998-09-12 04:04:59 +00:00
|
|
|
.Sh SECTIONS
|
2001-01-10 14:01:39 +00:00
|
|
|
.Ss "The [global] section"
|
2005-06-16 20:21:03 +00:00
|
|
|
Parameters in this section either apply to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nm amd
|
|
|
|
as a whole, or to all other
|
|
|
|
regular map sections which follow.
|
|
|
|
There should be only one global section
|
|
|
|
defined in one configuration file.
|
1998-09-12 04:04:59 +00:00
|
|
|
.Pp
|
1998-08-23 22:07:21 +00:00
|
|
|
It is highly recommended that this section be specified first in the
|
2005-06-16 20:21:03 +00:00
|
|
|
configuration file.
|
|
|
|
If it is not, then regular map sections which precede
|
1998-08-23 22:07:21 +00:00
|
|
|
it will not use global values defined later.
|
2001-01-10 14:01:39 +00:00
|
|
|
.Ss "Regular [/map] sections"
|
1998-08-23 22:07:21 +00:00
|
|
|
Parameters in regular (non-global) sections apply to a single map entry.
|
|
|
|
For example, if the map section
|
1998-09-12 04:04:59 +00:00
|
|
|
.Bq Pa /homes
|
1998-08-23 22:07:21 +00:00
|
|
|
is defined, then all parameters following it will be applied to the
|
1998-09-12 04:04:59 +00:00
|
|
|
.Pa /homes
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nm amd Ns
|
|
|
|
-managed mount point.
|
1998-09-12 04:04:59 +00:00
|
|
|
.Sh PARAMETERS
|
2001-01-10 14:01:39 +00:00
|
|
|
.Ss "Parameters common to all sections"
|
1998-08-23 22:07:21 +00:00
|
|
|
These parameters can be specified either in the global or a map specific
|
2005-06-16 20:21:03 +00:00
|
|
|
section.
|
|
|
|
Entries specified in a map-specific section override the default
|
|
|
|
value or one defined in the global section.
|
|
|
|
If such a common parameter is
|
1998-08-23 22:07:21 +00:00
|
|
|
specified only in the global section, it is applicable to all regular map
|
|
|
|
sections that follow.
|
2001-01-10 14:01:39 +00:00
|
|
|
.Bl -tag -width 4n
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va browsable_dirs Pq string, default=no
|
2005-06-16 20:21:03 +00:00
|
|
|
If
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li yes ,
|
|
|
|
then
|
|
|
|
.Nm amd Ns 's
|
|
|
|
top-level mount points will be browsable to
|
1998-09-12 04:04:59 +00:00
|
|
|
.Xr readdir 3
|
2005-06-16 20:21:03 +00:00
|
|
|
calls.
|
|
|
|
This means you could run for example
|
1998-11-20 08:12:05 +00:00
|
|
|
.Xr ls 1
|
2005-06-16 20:21:03 +00:00
|
|
|
and see what keys are available to mount in that directory.
|
|
|
|
Not all entries
|
|
|
|
are made visible to
|
2004-03-24 10:25:24 +00:00
|
|
|
.Xr readdir 3 :
|
2005-06-16 20:21:03 +00:00
|
|
|
the
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li /default
|
2005-06-16 20:21:03 +00:00
|
|
|
entry, wildcard entries, and those with a
|
2007-12-07 20:16:21 +00:00
|
|
|
.Ql /
|
2005-06-16 20:21:03 +00:00
|
|
|
in them are not included.
|
|
|
|
If you specify
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li full
|
2005-06-16 20:21:03 +00:00
|
|
|
to this option, all but
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li /default
|
2005-06-16 20:21:03 +00:00
|
|
|
will be visible.
|
|
|
|
Note that if you run a command which will attempt to
|
2004-03-24 10:25:24 +00:00
|
|
|
.Xr stat 2
|
2005-06-16 20:21:03 +00:00
|
|
|
the entries, such as often done by
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li "ls -l"
|
2004-03-24 10:25:24 +00:00
|
|
|
or
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li "ls -F" ,
|
|
|
|
.Xr amd 8
|
2005-06-16 20:21:03 +00:00
|
|
|
will attempt to mount
|
2004-03-24 10:25:24 +00:00
|
|
|
.Em every
|
2005-06-16 20:21:03 +00:00
|
|
|
entry in that map.
|
|
|
|
This is often called a
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq "mount storm" .
|
|
|
|
.It Va map_defaults Pq string, default no empty
|
2007-12-05 15:59:34 +00:00
|
|
|
This option sets a string to be used as the map's /defaults entry,
|
2007-12-07 20:16:21 +00:00
|
|
|
overriding any /defaults specified in the map.
|
|
|
|
This allows local users to
|
|
|
|
override map defaults without modifying maps globally.
|
|
|
|
.It Va map_options Pq string, default no options
|
2005-06-16 20:21:03 +00:00
|
|
|
This option is the same as specifying map options on the command line to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 ,
|
2004-03-24 10:25:24 +00:00
|
|
|
such as
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li "cache:=all" .
|
|
|
|
.It Va map_type Pq string, default search all map types
|
|
|
|
If specified,
|
|
|
|
.Xr amd 8
|
|
|
|
will initialize the map only for the type given.
|
|
|
|
This is
|
|
|
|
useful to avoid the default map search type used by
|
|
|
|
.Xr amd 8
|
|
|
|
which takes longer
|
|
|
|
and can have undesired side-effects such as initializing
|
2004-03-24 10:25:24 +00:00
|
|
|
.Tn NIS
|
2007-12-07 20:16:21 +00:00
|
|
|
even if not
|
|
|
|
used.
|
2005-06-16 20:21:03 +00:00
|
|
|
Possible values are:
|
2004-03-24 10:25:24 +00:00
|
|
|
.Pp
|
2007-12-07 20:16:21 +00:00
|
|
|
.Bl -tag -width ".Cm nisplus" -compact
|
|
|
|
.It Cm exec
|
2007-12-05 15:59:34 +00:00
|
|
|
executable maps
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm file
|
2004-03-24 10:25:24 +00:00
|
|
|
plain files
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm hesiod
|
2004-03-24 10:25:24 +00:00
|
|
|
Hesiod name service from MIT
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm ldap
|
2004-03-24 10:25:24 +00:00
|
|
|
Lightweight Directory Access Protocol
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm ndbm
|
2004-03-24 10:25:24 +00:00
|
|
|
(New) dbm style hash files
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm nis
|
2004-03-24 10:25:24 +00:00
|
|
|
Network Information Services (version 2)
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm nisplus
|
2004-03-24 10:25:24 +00:00
|
|
|
Network Information Services Plus (version 3)
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm passwd
|
2004-03-24 10:25:24 +00:00
|
|
|
local password files
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm union
|
2004-03-24 10:25:24 +00:00
|
|
|
union maps
|
|
|
|
.El
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va mount_type Pq string, default=nfs
|
|
|
|
All
|
|
|
|
.Xr amd 8
|
|
|
|
mount types default to
|
2004-03-24 10:25:24 +00:00
|
|
|
.Tn NFS .
|
|
|
|
That is,
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
2004-03-24 10:25:24 +00:00
|
|
|
is an
|
|
|
|
.Tn NFS
|
2007-12-07 20:16:21 +00:00
|
|
|
server on the
|
|
|
|
map mount points, for the local host it is running on.
|
2005-06-16 20:21:03 +00:00
|
|
|
If
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li autofs
|
2007-12-05 15:59:34 +00:00
|
|
|
is specified,
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
2007-12-05 15:59:34 +00:00
|
|
|
will be an autofs server for those mount points.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va autofs_use_lofs Pq string, default=yes
|
2007-12-05 15:59:34 +00:00
|
|
|
When set to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li yes
|
2007-12-05 15:59:34 +00:00
|
|
|
and using Autofs,
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
|
|
|
will use lofs-type (loopback) mounts
|
|
|
|
for type:=link mounts.
|
|
|
|
This has the advantage of mounting in place, and
|
|
|
|
users get to the see the same pathname that they chdir'ed into.
|
|
|
|
If this
|
|
|
|
option is set to
|
|
|
|
.Dq Li no ,
|
2007-12-05 15:59:34 +00:00
|
|
|
then
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
|
|
|
will use symlinks instead: that code is more
|
|
|
|
tested, but negates autofs's big advantage of in-place mounts.
|
|
|
|
.It Va search_path Pq string, default no search path
|
|
|
|
This provides a (colon-delimited) search path for file maps.
|
|
|
|
Using a search
|
|
|
|
path, sites can allow for local map customizations and overrides, and can
|
|
|
|
query
|
|
|
|
distributed maps in several locations as needed.
|
|
|
|
.It Va selectors_in_defaults Pq boolean, default=no
|
2007-12-05 15:59:34 +00:00
|
|
|
If
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li yes ,
|
|
|
|
then the /defaults entry of maps will search for and process any
|
|
|
|
selectors before setting defaults for all other keys in that map.
|
|
|
|
Useful
|
|
|
|
when you want to set different options for a complete map based on some
|
|
|
|
parameters.
|
2007-12-05 15:59:34 +00:00
|
|
|
For example, you may want to better the NFS performance over
|
|
|
|
slow slip-based networks as follows:
|
|
|
|
.Bd -literal
|
|
|
|
/defaults \\
|
|
|
|
wire==slip-net;opts:=intr,rsize=1024,wsize=1024 \\
|
|
|
|
wire!=slip-net;opts:=intr,rsize=8192,wsize=8192
|
|
|
|
.Ed
|
|
|
|
Deprecated form: selectors_on_default
|
2016-11-11 02:42:53 +00:00
|
|
|
.TP
|
|
|
|
.BR sun_map_syntax " (boolean, default=no)"
|
|
|
|
If "yes," then Amd will parse the map according to the Sun Automount syntax.
|
|
|
|
|
|
|
|
.\" **************************************************************************
|
2004-03-24 10:25:24 +00:00
|
|
|
.El
|
|
|
|
.Ss "Parameters applicable to the global section only"
|
2016-11-11 02:42:53 +00:00
|
|
|
|
2004-03-24 10:25:24 +00:00
|
|
|
.Bl -tag -width 4n
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va arch Pq string, default to compiled in value
|
2007-12-05 15:59:34 +00:00
|
|
|
Same as the
|
2007-12-07 20:16:21 +00:00
|
|
|
.Fl A
|
2007-12-05 15:59:34 +00:00
|
|
|
option to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
1998-08-23 22:07:21 +00:00
|
|
|
Allows you to override the value of the
|
1998-09-12 04:04:59 +00:00
|
|
|
.Va arch
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
1998-09-12 04:04:59 +00:00
|
|
|
variable.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va auto_attrcache Pq numeric, default=0
|
2007-12-05 15:59:34 +00:00
|
|
|
Specify in seconds (or units of 0.1 seconds, depending on the OS), what is
|
|
|
|
the (kernel-side) NFS attribute cache timeout for
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nm amd Ns 's
|
|
|
|
own automount
|
|
|
|
points.
|
|
|
|
A value of 0 is supposed to turn off attribute caching, meaning
|
|
|
|
that
|
|
|
|
.Xr amd 8
|
|
|
|
will be consulted via a kernel-RPC each time someone stat()'s
|
|
|
|
the mount point (which could be abused as a denial-of-service attack).
|
|
|
|
Warning: some OSs are incapable of turning off the NFS attribute cache
|
|
|
|
reliably.
|
|
|
|
On such systems,
|
|
|
|
.Nm amd
|
|
|
|
may not work reliably under heavy load.
|
|
|
|
See
|
|
|
|
the
|
|
|
|
.Pa README.attrcache
|
|
|
|
document in the Am-utils distribution for more details.
|
|
|
|
.It Va auto_dir Pq string, default= Ns Pa /a
|
2005-06-16 20:21:03 +00:00
|
|
|
Same as the
|
1998-09-12 04:04:59 +00:00
|
|
|
.Fl a
|
|
|
|
option to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
|
|
|
This sets the private directory where
|
|
|
|
.Nm amd
|
|
|
|
will create
|
|
|
|
sub-directories for its real mount points.
|
|
|
|
.It Va cache_duration Pq numeric, default=300
|
1998-08-23 22:07:21 +00:00
|
|
|
Same as the
|
1998-09-12 04:04:59 +00:00
|
|
|
.Fl c
|
|
|
|
option to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
|
|
|
Sets the duration in seconds that looked-up or mounted map
|
|
|
|
entries remain in the cache.
|
|
|
|
.It Va cluster Pq string, default no cluster
|
1998-08-23 22:07:21 +00:00
|
|
|
Same as the
|
1998-09-12 04:04:59 +00:00
|
|
|
.Fl C
|
|
|
|
option to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
1998-09-12 04:04:59 +00:00
|
|
|
Specifies the alternate
|
2001-01-10 14:01:39 +00:00
|
|
|
.Tn HP-UX
|
1998-09-12 04:04:59 +00:00
|
|
|
cluster to use.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va debug_mtab_file Pq string, default= Ns Pa /tmp/mnttab
|
|
|
|
Path to mtab file that is used by
|
|
|
|
.Xr amd 8
|
|
|
|
to store a list of mounted
|
|
|
|
file systems during debug-mtab mode.
|
|
|
|
This option only applies
|
|
|
|
to systems that store mtab information on disk.
|
|
|
|
.It Va debug_options Pq string, default no debug options
|
2005-06-16 20:21:03 +00:00
|
|
|
Same as the
|
1998-09-12 04:04:59 +00:00
|
|
|
.Fl D
|
|
|
|
option to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
1998-09-12 04:04:59 +00:00
|
|
|
Specify any debugging options for
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
|
|
|
Works only if
|
2016-11-11 02:42:53 +00:00
|
|
|
Works only if
|
2007-12-07 20:16:21 +00:00
|
|
|
am-utils was configured for debugging using the
|
|
|
|
.Fl Fl enable-debug
|
2001-01-10 14:01:39 +00:00
|
|
|
option.
|
1998-09-12 04:04:59 +00:00
|
|
|
The
|
2007-12-07 20:16:21 +00:00
|
|
|
.Cm mem
|
2016-11-11 02:42:53 +00:00
|
|
|
option, as well as all other options, can be turned on via
|
2007-12-07 20:16:21 +00:00
|
|
|
.Fl Fl enable-debug Ns = Ns Cm mem .
|
2005-06-16 20:21:03 +00:00
|
|
|
Otherwise debugging options are ignored.
|
2007-12-07 20:16:21 +00:00
|
|
|
Options are
|
|
|
|
comma delimited, and can be preceded by the string
|
|
|
|
.Dq Li no
|
|
|
|
to negate their
|
|
|
|
meaning.
|
|
|
|
You can get the list of supported debugging options by running
|
|
|
|
.Nm amd Fl v .
|
1998-09-12 04:04:59 +00:00
|
|
|
Possible values are:
|
|
|
|
.Pp
|
2007-12-07 20:16:21 +00:00
|
|
|
.Bl -tag -width ".Cm xdrtrace" -compact
|
|
|
|
.It Cm all
|
2016-11-11 02:42:53 +00:00
|
|
|
all options (excludes hrtime and mtab)
|
|
|
|
.It Cm defaults
|
|
|
|
"sensible" default options (all--excluding hrtime, mtab, and xdrtrace)
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm amq
|
2005-06-16 20:21:03 +00:00
|
|
|
register for
|
2001-01-10 14:01:39 +00:00
|
|
|
.Xr amq 8
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm daemon
|
1998-09-12 04:04:59 +00:00
|
|
|
enter daemon mode
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm fork
|
1998-09-12 04:04:59 +00:00
|
|
|
fork server
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm full
|
1998-09-12 04:04:59 +00:00
|
|
|
program trace
|
2016-11-11 02:42:53 +00:00
|
|
|
.It Cm hrtime
|
|
|
|
print high resolution time stamps (only if syslog(3) is not used)
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm info
|
1998-09-12 04:04:59 +00:00
|
|
|
info service specific debugging
|
2001-08-07 15:48:51 +00:00
|
|
|
(hesiod, nis, etc.)
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm mem
|
1998-09-12 04:04:59 +00:00
|
|
|
trace memory allocations
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm mtab
|
1998-09-12 04:04:59 +00:00
|
|
|
use local
|
|
|
|
.Pa ./mtab
|
|
|
|
file
|
2016-11-11 02:42:53 +00:00
|
|
|
\fBreaddir\fR show browsable_dirs progress
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm str
|
1998-09-12 04:04:59 +00:00
|
|
|
debug string munging
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm test
|
2016-11-11 02:42:53 +00:00
|
|
|
full debug options plus mtab,nodaemon,nofork,noamq
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm trace
|
|
|
|
trace protocol and NFS mount arguments
|
|
|
|
.It Cm xdrtrace
|
|
|
|
trace XDR routines
|
2016-11-11 02:42:53 +00:00
|
|
|
.BR dismount_interval " (numeric, default=120)"
|
1998-09-12 04:04:59 +00:00
|
|
|
.El
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va dismount_interval Pq numeric, default=120
|
1998-08-23 22:07:21 +00:00
|
|
|
Same as the
|
1998-09-12 04:04:59 +00:00
|
|
|
.Fl w
|
|
|
|
option to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
|
|
|
Specify, in seconds, the time between attempts to dismount
|
|
|
|
file systems that have exceeded their cached times.
|
|
|
|
.It Va domain_strip Pq boolean, default=yes
|
2007-12-05 15:59:34 +00:00
|
|
|
If
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li yes ,
|
|
|
|
then the domain
|
|
|
|
name part referred to by ${rhost} is stripped off.
|
|
|
|
This is
|
|
|
|
useful to keep logs and smaller.
|
2007-12-05 15:59:34 +00:00
|
|
|
If
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li no ,
|
|
|
|
then the domain name
|
|
|
|
part is left changed.
|
|
|
|
This is useful when using multiple domains with
|
|
|
|
the same maps (as you may have hosts whose domain-stripped name is
|
|
|
|
identical).
|
|
|
|
.It Va exec_map_timeout Pq numeric, default=10
|
2007-12-05 15:59:34 +00:00
|
|
|
The timeout in seconds that
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
2007-12-05 15:59:34 +00:00
|
|
|
will wait for an executable map program before an answer is returned from
|
|
|
|
that program (or script).
|
2007-12-07 20:16:21 +00:00
|
|
|
This value should be set to as small as possible
|
|
|
|
while still allowing normal replies to be returned before the timer expires,
|
2007-12-05 15:59:34 +00:00
|
|
|
because during the time that the executable map program is queried,
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
2007-12-05 15:59:34 +00:00
|
|
|
is essentially waiting and is thus not responding to any other queries.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va forced_unmounts Pq boolean, default=no
|
2007-12-05 15:59:34 +00:00
|
|
|
If set to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li yes ,
|
2007-12-05 15:59:34 +00:00
|
|
|
and the client OS supports forced or lazy unmounts, then
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
2007-12-05 15:59:34 +00:00
|
|
|
will attempt to use them if it gets any of three serious error conditions
|
|
|
|
when trying to unmount an existing mount point or mount on top of one:
|
2007-12-07 20:16:21 +00:00
|
|
|
.Er EIO , ESTALE ,
|
|
|
|
or
|
|
|
|
.Er EBUSY .
|
2007-12-05 15:59:34 +00:00
|
|
|
.Pp
|
|
|
|
This could be useful to recover from serious conditions such as hardware
|
|
|
|
failure of mounted disks, or NFS servers which are down permanently, were
|
|
|
|
migrated, or changed their IP address.
|
|
|
|
Only
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li type:=toplvl
|
|
|
|
mounts hung with
|
|
|
|
.Er EBUSY
|
|
|
|
are forcibly unmounted using this option, which is useful to recover
|
|
|
|
from a hung
|
|
|
|
.Xr amd 8 ) .
|
|
|
|
.It Va full_os Pq string, default to compiled in value
|
|
|
|
The full name of the operating system, along with its version.
|
|
|
|
Allows you
|
|
|
|
to override the compiled-in full name and version of the operating system.
|
|
|
|
Useful when the compiled-in name is not desired.
|
|
|
|
For example, the full
|
|
|
|
operating system name on Linux comes up as
|
|
|
|
.Dq Li linux ,
|
|
|
|
but you can override it to
|
|
|
|
.Dq Li linux-2.2.5 .
|
|
|
|
.It Va fully_qualified_hosts Pq string, default=no
|
1998-09-12 04:04:59 +00:00
|
|
|
If
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li yes ,
|
|
|
|
.Xr amd 8
|
2005-06-16 20:21:03 +00:00
|
|
|
will perform RPC authentication using fully-qualified host names.
|
|
|
|
This is
|
1998-08-23 22:07:21 +00:00
|
|
|
necessary for some systems, and especially when performing cross-domain
|
2005-06-16 20:21:03 +00:00
|
|
|
mounting.
|
|
|
|
For this function to work, the
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
|
|
|
variable ${hostd} is used, requiring that ${domain} not be null.
|
|
|
|
.It Va hesiod_base Pq string, default=automount
|
1998-08-23 22:07:21 +00:00
|
|
|
Specify the base name for hesiod maps.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va karch Pq string, default to karch of the system
|
1998-08-23 22:07:21 +00:00
|
|
|
Same as the
|
1998-09-12 04:04:59 +00:00
|
|
|
.Fl k
|
|
|
|
option to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
|
|
|
Allows you to override the kernel-architecture of your
|
|
|
|
system.
|
|
|
|
Useful for example on Sun (Sparc) machines, where you can build one
|
|
|
|
.Nm amd
|
|
|
|
binary and run it on multiple machines, yet you want each one to get
|
|
|
|
the correct
|
1998-09-12 04:04:59 +00:00
|
|
|
.Va karch
|
2007-12-07 20:16:21 +00:00
|
|
|
variable set (for example, sun4c, sun4m, sun4u, etc.)
|
1998-09-12 04:04:59 +00:00
|
|
|
Note that if not
|
|
|
|
specified,
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
1998-09-12 04:04:59 +00:00
|
|
|
will use
|
1999-08-14 21:37:28 +00:00
|
|
|
.Xr uname 3
|
2007-12-07 20:16:21 +00:00
|
|
|
to figure out the kernel architecture of
|
|
|
|
the machine.
|
|
|
|
.It Va ldap_base Pq string, default not set
|
1998-08-23 22:07:21 +00:00
|
|
|
Specify the base name for LDAP.
|
2007-12-07 20:16:21 +00:00
|
|
|
This often includes LDAP-specific
|
|
|
|
values such as country and organization.
|
|
|
|
.It Va ldap_cache_maxmem Pq numeric, default=131072
|
|
|
|
Specify the maximum memory
|
|
|
|
.Xr amd 8
|
|
|
|
should use to cache LDAP entries.
|
|
|
|
.It Va ldap_cache_seconds Pq numeric, default=0
|
1998-08-23 22:07:21 +00:00
|
|
|
Specify the number of seconds to keep entries in the cache.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va ldap_hostports Pq string, default not set
|
|
|
|
Specify the LDAP host and port values.
|
|
|
|
.It Va ldap_proto_version Pq numeric, default=2
|
2007-12-05 15:59:34 +00:00
|
|
|
Specify the version of the LDAP protocol to use.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va local_domain Pq string, default no sub-domain
|
1998-08-23 22:07:21 +00:00
|
|
|
Same as the
|
1998-09-12 04:04:59 +00:00
|
|
|
.Fl d
|
|
|
|
option to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
2005-06-16 20:21:03 +00:00
|
|
|
Specify the local domain name.
|
2007-12-07 20:16:21 +00:00
|
|
|
If this option is not given
|
|
|
|
the domain name is determined from the hostname by removing the first
|
|
|
|
component of the fully-qualified host name.
|
|
|
|
.It Va localhost_address Pq string, default to localhost or 127.0.0.1
|
2007-12-05 15:59:34 +00:00
|
|
|
Specify the name or IP address for
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
|
|
|
to use when connecting the sockets
|
|
|
|
for the local NFS server and the RPC server.
|
|
|
|
This defaults to 127.0.0.1 or
|
|
|
|
whatever the host reports as its local address.
|
|
|
|
This parameter is useful on
|
|
|
|
hosts with multiple addresses where you want to force
|
|
|
|
.Xr amd 8
|
|
|
|
to connect to a
|
|
|
|
specific address.
|
|
|
|
.It Va log_file Pq string, default= Ns Pa /dev/stderr
|
1998-08-23 22:07:21 +00:00
|
|
|
Same as the
|
1998-09-12 04:04:59 +00:00
|
|
|
.Fl l
|
|
|
|
option to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
1998-09-12 04:04:59 +00:00
|
|
|
Specify a file name to log
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
2005-06-16 20:21:03 +00:00
|
|
|
events to.
|
|
|
|
If the string
|
1998-09-12 04:04:59 +00:00
|
|
|
.Pa /dev/stderr
|
|
|
|
is specified,
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
2005-06-16 20:21:03 +00:00
|
|
|
will send its events to the standard error file descriptor.
|
2007-12-07 20:16:21 +00:00
|
|
|
If the string
|
1998-09-12 04:04:59 +00:00
|
|
|
.Pa syslog
|
|
|
|
is given,
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
1998-09-12 04:04:59 +00:00
|
|
|
will record its events with the system logger
|
1999-08-18 05:55:22 +00:00
|
|
|
.Xr syslogd 8 .
|
1998-09-12 04:04:59 +00:00
|
|
|
The default syslog facility used is
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dv LOG_DAEMON .
|
|
|
|
If you
|
|
|
|
wish to change it, append its name to the log file name, delimited by a
|
2005-06-16 20:21:03 +00:00
|
|
|
single colon.
|
|
|
|
For example, if
|
1998-09-12 04:04:59 +00:00
|
|
|
.Pa logfile
|
1998-08-23 22:07:21 +00:00
|
|
|
is the string
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li syslog:local7
|
1998-09-12 04:04:59 +00:00
|
|
|
then
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
1998-09-12 04:04:59 +00:00
|
|
|
will log messages via
|
|
|
|
.Xr syslog 3
|
|
|
|
using the
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dv LOG_LOCAL7
|
|
|
|
facility (if it exists on the system).
|
|
|
|
.It Va log_options Pq string, default no logging options
|
1998-08-23 22:07:21 +00:00
|
|
|
Same as the
|
1998-09-12 04:04:59 +00:00
|
|
|
.Fl x
|
|
|
|
option to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
1998-09-12 04:04:59 +00:00
|
|
|
Specify any logging options for
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
|
|
|
Options are comma
|
|
|
|
delimited, and can be preceded by the string
|
|
|
|
.Dq Li no
|
2005-06-16 20:21:03 +00:00
|
|
|
to negate their meaning.
|
|
|
|
The
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li debug
|
2001-01-10 14:01:39 +00:00
|
|
|
logging option is only available if am-utils was configured with
|
2007-12-07 20:16:21 +00:00
|
|
|
.Fl Fl enable-debug .
|
|
|
|
You can get the list of supported debugging and logging
|
|
|
|
options by running
|
|
|
|
.Nm amd Fl H .
|
1998-09-12 04:04:59 +00:00
|
|
|
Possible values are:
|
|
|
|
.Pp
|
2007-12-07 20:16:21 +00:00
|
|
|
.Bl -tag -width ".Cm warning" -compact
|
|
|
|
.It Cm all
|
1998-09-12 04:04:59 +00:00
|
|
|
all messages
|
2016-11-11 02:42:53 +00:00
|
|
|
.It Cm defaults
|
|
|
|
default messages (fatal,error,user,warning,info)
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm debug
|
1998-09-12 04:04:59 +00:00
|
|
|
debug messages
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm error
|
2016-11-11 02:42:53 +00:00
|
|
|
non-fatal system errors (cannot be turned off)
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm fatal
|
2016-11-11 02:42:53 +00:00
|
|
|
fatal errors (cannot be turned off)
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm info
|
1998-09-12 04:04:59 +00:00
|
|
|
information
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm map
|
1998-09-12 04:04:59 +00:00
|
|
|
map errors
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm stats
|
1998-09-12 04:04:59 +00:00
|
|
|
additional statistical information
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm user
|
1998-09-12 04:04:59 +00:00
|
|
|
non-fatal user errors
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm warn
|
1998-09-12 04:04:59 +00:00
|
|
|
warnings
|
2016-11-11 02:42:53 +00:00
|
|
|
\fBwarning\fR warnings
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Cm warning
|
1998-09-12 04:04:59 +00:00
|
|
|
warnings
|
|
|
|
.El
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va map_reload_interval Pq numeric, default=3600
|
|
|
|
The number of seconds that
|
|
|
|
.Xr amd 8
|
|
|
|
will wait before it checks to see if any maps
|
2007-12-05 15:59:34 +00:00
|
|
|
have changed at their source (NIS servers, LDAP servers, files, etc.).
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
2007-12-05 15:59:34 +00:00
|
|
|
will reload only those maps that have changed.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va nfs_allow_any_interface Pq string, default=no
|
2007-12-05 15:59:34 +00:00
|
|
|
Normally
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
2007-12-05 15:59:34 +00:00
|
|
|
accepts local NFS packets only from 127.0.0.1.
|
2007-12-07 20:16:21 +00:00
|
|
|
If this
|
|
|
|
parameter is set to
|
|
|
|
.Dq Li yes
|
2007-12-05 15:59:34 +00:00
|
|
|
then
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
|
|
|
will accept local NFS packets from any
|
|
|
|
local interface; this is useful on hosts that may have multiple interfaces
|
|
|
|
where the system is forced to send all outgoing packets (even those bound to
|
|
|
|
the same host) via an address other than 127.0.0.1.
|
|
|
|
.It Va nfs_allow_insecure_port Pq string, default=no
|
2007-12-05 15:59:34 +00:00
|
|
|
Normally
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
|
|
|
will refuse requests coming from unprivileged ports (i.e.\&
|
|
|
|
ports >= 1024 on Unix systems), so that only privileged users and the kernel
|
|
|
|
can send NFS requests to it.
|
|
|
|
However, some kernels (certain versions of
|
|
|
|
Darwin, MacOS X, and Linux) have bugs that cause them to use unprivileged
|
|
|
|
ports in certain situations, which causes
|
|
|
|
.Xr amd 8
|
2007-12-05 15:59:34 +00:00
|
|
|
to stop dead in its tracks.
|
|
|
|
This parameter allows
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
|
|
|
to operate normally even on such systems, at the
|
|
|
|
expense of a slight decrease in the security of its operations.
|
|
|
|
If you see
|
|
|
|
messages like
|
|
|
|
.Dq Li "ignoring request from foo:1234, port not reserved"
|
2007-12-05 15:59:34 +00:00
|
|
|
in your
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
2007-12-05 15:59:34 +00:00
|
|
|
log, try enabling this parameter and give it another go.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va nfs_proto Pq string, default to trying version tcp then udp
|
2007-12-05 15:59:34 +00:00
|
|
|
By default,
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
2007-12-05 15:59:34 +00:00
|
|
|
tries TCP and then UDP.
|
2005-06-16 20:21:03 +00:00
|
|
|
This option forces the overall
|
2004-03-24 10:25:24 +00:00
|
|
|
.Tn NFS
|
2005-06-16 20:21:03 +00:00
|
|
|
protocol used to TCP or UDP.
|
2007-12-05 15:59:34 +00:00
|
|
|
It overrides what is in the
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
|
|
|
maps, and is
|
|
|
|
useful when
|
|
|
|
.Nm amd
|
2007-12-05 15:59:34 +00:00
|
|
|
is compiled with NFSv3 support that may not be stable.
|
2005-06-16 20:21:03 +00:00
|
|
|
With
|
2004-03-24 10:25:24 +00:00
|
|
|
this option you can turn off the complete usage of NFSv3 dynamically
|
2007-12-05 15:59:34 +00:00
|
|
|
(without having to recompile
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nm amd )
|
|
|
|
until such time as NFSv3 support is
|
|
|
|
desired again.
|
|
|
|
.It Va nfs_retransmit_counter Pq numeric, default=11
|
1998-08-23 22:07:21 +00:00
|
|
|
Same as the
|
2007-12-07 20:16:21 +00:00
|
|
|
.Ar retransmit
|
|
|
|
counter
|
1998-09-12 04:04:59 +00:00
|
|
|
part of the
|
2007-12-07 20:16:21 +00:00
|
|
|
.Fl t Ar timeout.retransmit
|
1998-09-12 04:04:59 +00:00
|
|
|
option to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
|
|
|
Specifies the number of NFS retransmissions that the kernel will use to
|
|
|
|
communicate with
|
|
|
|
.Xr amd 8 .
|
|
|
|
.It Va nfs_retransmit_counter_udp Pq numeric, default=11
|
2007-12-05 15:59:34 +00:00
|
|
|
Same as the
|
2007-12-07 20:16:21 +00:00
|
|
|
.Va nfs_retransmit_counter
|
2007-12-05 15:59:34 +00:00
|
|
|
option, but for all UDP mounts only.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va nfs_retransmit_counter_tcp Pq numeric, default=11
|
2007-12-05 15:59:34 +00:00
|
|
|
Same as the
|
2007-12-07 20:16:21 +00:00
|
|
|
.Va nfs_retransmit_counter
|
2007-12-05 15:59:34 +00:00
|
|
|
option, but for all TCP mounts only.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va nfs_retransmit_counter_toplvl Pq numeric, default=11
|
2007-12-05 15:59:34 +00:00
|
|
|
Same as the
|
2007-12-07 20:16:21 +00:00
|
|
|
.Va nfs_retransmit_counter
|
|
|
|
option, but only for
|
|
|
|
.Nm amd Ns 's
|
|
|
|
top-level UDP mounts.
|
|
|
|
.It Va nfs_retry_interval Pq numeric, default=8
|
1998-08-23 22:07:21 +00:00
|
|
|
Same as the
|
2007-12-07 20:16:21 +00:00
|
|
|
.Ar timeout
|
|
|
|
interval
|
2005-06-16 20:21:03 +00:00
|
|
|
part of the
|
2007-12-07 20:16:21 +00:00
|
|
|
.Fl t Ar timeout.retransmit
|
2004-03-24 10:25:24 +00:00
|
|
|
option to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
2004-03-24 10:25:24 +00:00
|
|
|
Specifies the
|
|
|
|
.Tn NFS
|
2007-12-07 20:16:21 +00:00
|
|
|
timeout interval, in
|
|
|
|
.Em tenths
|
|
|
|
of seconds, between NFS/RPC retries (for UDP and TCP).
|
2003-09-02 15:42:57 +00:00
|
|
|
This is the value that the kernel will use to
|
2007-12-05 15:59:34 +00:00
|
|
|
communicate with
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
2004-03-24 10:25:24 +00:00
|
|
|
.Pp
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
2004-03-24 10:25:24 +00:00
|
|
|
relies on the kernel RPC retransmit mechanism to trigger mount retries.
|
2003-09-02 15:42:57 +00:00
|
|
|
The values of the
|
2007-12-07 20:16:21 +00:00
|
|
|
.Va nfs_retransmit_counter
|
2003-09-02 15:42:57 +00:00
|
|
|
and the
|
2007-12-07 20:16:21 +00:00
|
|
|
.Va nfs_retry_interval
|
2005-06-16 20:21:03 +00:00
|
|
|
parameters change the overall retry interval.
|
|
|
|
Too long an interval gives
|
2003-09-02 15:42:57 +00:00
|
|
|
poor interactive response; too short an interval causes excessive retries.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va nfs_retry_interval_udp Pq numeric, default=8
|
2007-12-05 15:59:34 +00:00
|
|
|
Same as the
|
2007-12-07 20:16:21 +00:00
|
|
|
.Va nfs_retry_interval
|
2007-12-05 15:59:34 +00:00
|
|
|
option, but for all UDP mounts only.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va nfs_retry_interval_tcp Pq numeric, default=8
|
2007-12-05 15:59:34 +00:00
|
|
|
Same as the
|
|
|
|
.It nfs_retry_interval
|
|
|
|
option, but for all TCP mounts only.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va nfs_retry_interval_toplvl Pq numeric, default=8
|
2007-12-05 15:59:34 +00:00
|
|
|
Same as the
|
|
|
|
.It nfs_retry_interval
|
|
|
|
option, but only for
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nm amd Ns 's
|
2007-12-05 15:59:34 +00:00
|
|
|
top-level UDP mounts.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va nfs_vers Pq numeric, default to trying version 3 then 2
|
|
|
|
By default,
|
|
|
|
.Xr amd 8
|
|
|
|
tries version 3 and then version 2.
|
2005-06-16 20:21:03 +00:00
|
|
|
This option forces the
|
2004-03-24 10:25:24 +00:00
|
|
|
overall
|
|
|
|
.Tn NFS
|
2005-06-16 20:21:03 +00:00
|
|
|
protocol used to version 3 or 2.
|
|
|
|
It overrides what is in the
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
|
|
|
maps, and is useful when
|
|
|
|
.Nm amd
|
|
|
|
is compiled with NFSv3 support that may not
|
2005-06-16 20:21:03 +00:00
|
|
|
be stable.
|
|
|
|
With this option you can turn off the complete usage of NFSv3
|
2007-12-07 20:16:21 +00:00
|
|
|
dynamically (without having to recompile
|
|
|
|
.Nm amd )
|
|
|
|
until such time as NFSv3
|
2004-03-24 10:25:24 +00:00
|
|
|
support is desired again.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va nis_domain Pq string, default to local Tn NIS domain name
|
1998-08-23 22:07:21 +00:00
|
|
|
Same as the
|
2004-03-24 10:25:24 +00:00
|
|
|
.Fl y
|
|
|
|
option to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
2004-03-24 10:25:24 +00:00
|
|
|
Specify an alternative
|
|
|
|
.Tn NIS
|
|
|
|
domain from which to fetch the
|
|
|
|
.Tn NIS
|
2005-06-16 20:21:03 +00:00
|
|
|
maps.
|
|
|
|
The default is the system domain name.
|
|
|
|
This option is ignored if
|
2004-03-24 10:25:24 +00:00
|
|
|
.Tn NIS
|
|
|
|
support is not available.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va normalize_hostnames Pq boolean, default=no
|
2003-09-02 15:42:57 +00:00
|
|
|
Same as the
|
2004-03-24 10:25:24 +00:00
|
|
|
.Fl n
|
|
|
|
option to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
2004-03-24 10:25:24 +00:00
|
|
|
If
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li yes ,
|
2005-07-28 13:03:19 +00:00
|
|
|
then the name referred to by
|
2004-03-24 10:25:24 +00:00
|
|
|
.Va ${rhost}
|
2005-06-16 20:21:03 +00:00
|
|
|
is normalized relative to the host database before being used.
|
|
|
|
The effect is
|
2004-03-24 10:25:24 +00:00
|
|
|
to translate aliases into
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq official
|
2004-03-24 10:25:24 +00:00
|
|
|
names.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va normalize_slashes Pq boolean, default=yes
|
2007-12-05 15:59:34 +00:00
|
|
|
If
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li yes ,
|
2007-12-05 15:59:34 +00:00
|
|
|
then
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
|
|
|
will condense all multiple
|
|
|
|
.Ql /
|
|
|
|
(slash) characters into
|
|
|
|
one and remove all trailing slashes.
|
2007-12-05 15:59:34 +00:00
|
|
|
If
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li no ,
|
2007-12-05 15:59:34 +00:00
|
|
|
then
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
|
|
|
will not touch
|
|
|
|
strings that may contain repeated or trailing slashes.
|
|
|
|
The latter is
|
|
|
|
sometimes useful with SMB mounts, which often require multiple slash
|
|
|
|
characters in pathnames.
|
|
|
|
.It Va os Pq string, default to compiled in value
|
2003-09-02 15:42:57 +00:00
|
|
|
Same as the
|
2004-03-24 10:25:24 +00:00
|
|
|
.Fl O
|
|
|
|
option to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
2004-03-24 10:25:24 +00:00
|
|
|
Allows you to override the compiled-in name of the operating
|
2005-06-16 20:21:03 +00:00
|
|
|
system.
|
|
|
|
Useful when the built-in name is not desired for backward
|
|
|
|
compatibility reasons.
|
|
|
|
For example, if the build in name is
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li sunos5 ,
|
1998-09-12 04:04:59 +00:00
|
|
|
you can override it to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li sos5 ,
|
|
|
|
and use older maps which were written with the
|
|
|
|
latter in mind.
|
|
|
|
.It Va osver Pq string, default to compiled in value
|
1998-08-23 22:07:21 +00:00
|
|
|
Same as the
|
1998-09-12 04:04:59 +00:00
|
|
|
.Fl o
|
|
|
|
option to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
|
|
|
Overrides the compiled-in version number of the operating
|
2005-06-16 20:21:03 +00:00
|
|
|
system.
|
|
|
|
Useful when the built in version is not desired for backward
|
|
|
|
compatibility reasons.
|
|
|
|
For example, if the build in version is
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li 2.5.1 ,
|
1998-09-12 04:04:59 +00:00
|
|
|
you can override it to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li 5.5.1 ,
|
|
|
|
and use older maps that were written with
|
|
|
|
the latter in mind.
|
|
|
|
.It Va pid_file Pq string, default= Ns Pa /dev/stdout
|
2005-06-16 20:21:03 +00:00
|
|
|
Specify a file to store the process ID of the running daemon into.
|
|
|
|
If not
|
1998-09-12 04:04:59 +00:00
|
|
|
specified,
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
|
|
|
will print its process ID onto the standard output.
|
|
|
|
Useful
|
|
|
|
for killing
|
|
|
|
.Xr amd 8
|
2005-06-16 20:21:03 +00:00
|
|
|
after it had run.
|
|
|
|
Note that the PID of a running
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nm amd
|
|
|
|
can
|
|
|
|
also be retrieved via
|
1998-09-12 04:04:59 +00:00
|
|
|
.Nm amq Fl p .
|
|
|
|
This file is used only if the
|
2007-12-07 20:16:21 +00:00
|
|
|
.Va print_pid
|
1998-09-12 04:04:59 +00:00
|
|
|
option is on.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va plock Pq boolean, default=yes
|
1998-08-23 22:07:21 +00:00
|
|
|
Same as the
|
1998-09-12 04:04:59 +00:00
|
|
|
.Fl S
|
|
|
|
option to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
1998-09-12 04:04:59 +00:00
|
|
|
If
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li yes ,
|
1998-09-12 04:04:59 +00:00
|
|
|
lock the running executable pages of
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nm amd
|
2005-06-16 20:21:03 +00:00
|
|
|
into memory.
|
|
|
|
To improve
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nm amd Ns 's
|
1998-09-12 04:04:59 +00:00
|
|
|
performance, systems that support the
|
|
|
|
.Xr plock 3
|
2007-12-05 15:59:34 +00:00
|
|
|
or
|
|
|
|
.Xr mlockall 2
|
1998-09-12 04:04:59 +00:00
|
|
|
call can lock the
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nm amd
|
2005-06-16 20:21:03 +00:00
|
|
|
process into memory.
|
2007-12-07 20:16:21 +00:00
|
|
|
This way there is less chance that
|
|
|
|
the operating system will schedule, page out, and swap the
|
|
|
|
.Nm amd
|
2005-06-16 20:21:03 +00:00
|
|
|
process as needed.
|
|
|
|
This improves
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nm amd Ns 's
|
|
|
|
performance, at the cost of reserving the
|
|
|
|
memory used by the
|
|
|
|
.Nm amd
|
|
|
|
process (making it unavailable for other processes).
|
|
|
|
.It Va portmap_program Pq numeric, default=300019
|
1998-08-23 22:07:21 +00:00
|
|
|
Specify an alternate Port-mapper RPC program number, other than the official
|
2005-06-16 20:21:03 +00:00
|
|
|
number.
|
|
|
|
This is useful when running multiple
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nm amd
|
2005-06-16 20:21:03 +00:00
|
|
|
processes.
|
2007-12-07 20:16:21 +00:00
|
|
|
For example,
|
|
|
|
you can run another
|
|
|
|
.Xr amd 8
|
1998-09-12 04:04:59 +00:00
|
|
|
in
|
|
|
|
.Dq test
|
|
|
|
mode, without affecting the primary
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nm amd
|
2005-06-16 20:21:03 +00:00
|
|
|
process in any way.
|
|
|
|
For safety reasons, the alternate program numbers that
|
1998-08-23 22:07:21 +00:00
|
|
|
can be specified must be in the range 300019-300029, inclusive.
|
2007-12-07 20:16:21 +00:00
|
|
|
The
|
|
|
|
.Xr amq 8
|
|
|
|
utility
|
1998-08-23 22:07:21 +00:00
|
|
|
has an option
|
1998-09-12 04:04:59 +00:00
|
|
|
.Fl P
|
|
|
|
which can be used to specify an alternate program number of an
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nm amd
|
2005-06-16 20:21:03 +00:00
|
|
|
to contact.
|
|
|
|
In this way,
|
1998-09-12 04:04:59 +00:00
|
|
|
.Nm amq
|
|
|
|
can fully control any number of
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nm amd
|
1998-09-12 04:04:59 +00:00
|
|
|
processes running on the same host.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va preferred_amq_port Pq numeric, default=0
|
2007-12-05 15:59:34 +00:00
|
|
|
Specify an alternate Port-mapper RPC port number for
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nm amd Ns 's
|
|
|
|
.Xr amq 8
|
2007-12-05 15:59:34 +00:00
|
|
|
service.
|
|
|
|
This is used for both UDP and TCP.
|
2007-12-07 20:16:21 +00:00
|
|
|
Setting this value to 0 (or
|
|
|
|
not defining it) will cause
|
|
|
|
.Xr amd 8
|
2007-12-05 15:59:34 +00:00
|
|
|
to select an arbitrary port number.
|
|
|
|
Setting the
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amq 8
|
2007-12-05 15:59:34 +00:00
|
|
|
RPC service port to a specific number is useful in firewalled or NAT'ed
|
|
|
|
environments, where you need to know which port
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
2007-12-05 15:59:34 +00:00
|
|
|
will listen on.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va print_pid Pq boolean, default=no
|
1998-08-23 22:07:21 +00:00
|
|
|
Same as the
|
1998-09-12 04:04:59 +00:00
|
|
|
.Fl p
|
|
|
|
option to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
1998-09-12 04:04:59 +00:00
|
|
|
If
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li yes ,
|
|
|
|
.Nm amd
|
1998-09-12 04:04:59 +00:00
|
|
|
will print its process ID upon starting.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va print_version Pq boolean, default=no
|
1998-08-23 22:07:21 +00:00
|
|
|
Same as the
|
1998-09-12 04:04:59 +00:00
|
|
|
.Fl v
|
|
|
|
option to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 ,
|
1998-09-12 04:04:59 +00:00
|
|
|
but the version prints and
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nm amd
|
2005-06-16 20:21:03 +00:00
|
|
|
continues to run.
|
|
|
|
If
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li yes ,
|
|
|
|
.Nm amd
|
|
|
|
will print its version information string, which includes some
|
|
|
|
configuration and compilation values.
|
|
|
|
.It Va restart_mounts Pq boolean, default=no
|
1998-08-23 22:07:21 +00:00
|
|
|
Same as the
|
1998-09-12 04:04:59 +00:00
|
|
|
.Fl r
|
|
|
|
option to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
1998-09-12 04:04:59 +00:00
|
|
|
If
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li yes ,
|
|
|
|
.Nm amd
|
1998-08-23 22:07:21 +00:00
|
|
|
will scan the mount table to determine which file systems are currently
|
2005-06-16 20:21:03 +00:00
|
|
|
mounted.
|
|
|
|
Whenever one of these would have been auto-mounted,
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nm amd
|
1998-08-23 22:07:21 +00:00
|
|
|
inherits it.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va show_statfs_entries Pq boolean, default=no
|
1998-09-12 04:04:59 +00:00
|
|
|
If
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li yes ,
|
|
|
|
then all maps which are browsable will also show the number of
|
|
|
|
entries (keys) they have when
|
|
|
|
.Xr df 1
|
1998-09-12 04:04:59 +00:00
|
|
|
runs.
|
2007-12-07 20:16:21 +00:00
|
|
|
(This is accomplished by returning
|
|
|
|
non-zero values to the
|
1998-09-12 04:04:59 +00:00
|
|
|
.Xr statfs 2
|
2001-01-10 14:01:39 +00:00
|
|
|
system call.)
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va truncate_log Pq boolean, default=no
|
2007-12-05 15:59:34 +00:00
|
|
|
If
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li yes ,
|
|
|
|
then the log file (if it is a regular file), will be truncated
|
|
|
|
upon startup.
|
|
|
|
.It Va unmount_on_exit Pq boolean, default=no
|
1998-09-12 04:04:59 +00:00
|
|
|
If
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li yes ,
|
2005-06-16 20:21:03 +00:00
|
|
|
then
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
|
|
|
will attempt to unmount all file systems which it knows
|
|
|
|
about.
|
2005-06-16 20:21:03 +00:00
|
|
|
Normally
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nm amd
|
2005-06-16 20:21:03 +00:00
|
|
|
leaves all
|
2007-12-07 20:16:21 +00:00
|
|
|
(esp.\&
|
|
|
|
.Tn NFS )
|
2005-06-16 20:21:03 +00:00
|
|
|
mounted file systems intact.
|
|
|
|
Note that
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nm amd
|
|
|
|
does not know about file systems mounted before it starts up,
|
|
|
|
unless the
|
|
|
|
.Va restart_mounts
|
1998-09-12 04:04:59 +00:00
|
|
|
option or
|
|
|
|
.Fl r
|
1998-08-23 22:07:21 +00:00
|
|
|
flag are used.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va use_tcpwrappers Pq boolean, default=yes
|
2007-12-05 15:59:34 +00:00
|
|
|
If
|
2007-12-07 20:16:21 +00:00
|
|
|
.Dq Li yes ,
|
2007-12-05 15:59:34 +00:00
|
|
|
then
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
|
|
|
will use the tcpd/libwrap tcpwrappers library
|
|
|
|
(if available) to control
|
2007-12-05 15:59:34 +00:00
|
|
|
access to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Nm amd
|
2007-12-05 15:59:34 +00:00
|
|
|
via the
|
2007-12-07 20:16:21 +00:00
|
|
|
.Pa /etc/hosts.allow
|
2007-12-05 15:59:34 +00:00
|
|
|
and
|
2007-12-07 20:16:21 +00:00
|
|
|
.Pa /etc/hosts.deny
|
2007-12-05 15:59:34 +00:00
|
|
|
files.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va vendor Pq string, default to compiled in value
|
|
|
|
The name of the vendor of the operating system.
|
|
|
|
Overrides the compiled-in
|
|
|
|
vendor name.
|
|
|
|
Useful when the compiled-in name is not desired.
|
|
|
|
For example,
|
|
|
|
most Intel based systems set the vendor name to
|
|
|
|
.Dq Li unknown ,
|
|
|
|
but you can set it to
|
|
|
|
.Dq Li redhat .
|
|
|
|
.El
|
|
|
|
.Ss "Parameters applicable to regular map sections"
|
|
|
|
.Bl -tag -width 4n
|
|
|
|
.It Va map_name Pq string, must be specified
|
1998-08-23 22:07:21 +00:00
|
|
|
Name of the map where the keys are located.
|
2007-12-07 20:16:21 +00:00
|
|
|
.It Va tag Pq string, default no tag
|
2005-06-16 20:21:03 +00:00
|
|
|
Each map entry in the configuration file can be tagged.
|
|
|
|
If no tag is
|
1998-09-12 04:04:59 +00:00
|
|
|
specified, that map section will always be processed by
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 .
|
|
|
|
If it is
|
|
|
|
specified, then
|
|
|
|
.Nm amd
|
1998-09-12 04:04:59 +00:00
|
|
|
will process the map if the
|
|
|
|
.Fl T
|
|
|
|
option was given to
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8 ,
|
|
|
|
and the value given to that command-line option
|
|
|
|
matches that in the map section.
|
1998-09-12 04:04:59 +00:00
|
|
|
.El
|
|
|
|
.Sh EXAMPLES
|
2005-06-16 20:21:03 +00:00
|
|
|
Here is a real
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
1998-09-12 04:04:59 +00:00
|
|
|
configuration I use daily.
|
|
|
|
.Bd -literal
|
1998-08-23 22:07:21 +00:00
|
|
|
# GLOBAL OPTIONS SECTION
|
|
|
|
[ global ]
|
|
|
|
normalize_hostnames = no
|
|
|
|
print_pid = no
|
|
|
|
restart_mounts = yes
|
|
|
|
auto_dir = /n
|
|
|
|
log_file = /var/log/amd
|
|
|
|
log_options = all
|
|
|
|
#debug_options = all
|
|
|
|
plock = no
|
2007-12-07 20:16:21 +00:00
|
|
|
selectors_in_defaults = yes
|
1998-08-23 22:07:21 +00:00
|
|
|
# config.guess picks up "sunos5" and I don't want to edit my maps yet
|
|
|
|
os = sos5
|
|
|
|
# if you print_version after setting up "os", it will show it.
|
|
|
|
print_version = no
|
|
|
|
map_type = file
|
|
|
|
search_path = /etc/amdmaps:/usr/lib/amd:/usr/local/AMD/lib
|
|
|
|
browsable_dirs = yes
|
|
|
|
|
|
|
|
# DEFINE AN AMD MOUNT POINT
|
|
|
|
[ /u ]
|
|
|
|
map_name = amd.u
|
1998-09-12 04:04:59 +00:00
|
|
|
|
|
|
|
[ /proj ]
|
1998-08-23 22:07:21 +00:00
|
|
|
map_name = amd.proj
|
1998-09-12 04:04:59 +00:00
|
|
|
|
|
|
|
[ /src ]
|
1998-08-23 22:07:21 +00:00
|
|
|
map_name = amd.src
|
1998-09-12 04:04:59 +00:00
|
|
|
|
|
|
|
[ /misc ]
|
1998-08-23 22:07:21 +00:00
|
|
|
map_name = amd.misc
|
1998-09-12 04:04:59 +00:00
|
|
|
|
|
|
|
[ /import ]
|
1998-08-23 22:07:21 +00:00
|
|
|
map_name = amd.import
|
1998-09-12 04:04:59 +00:00
|
|
|
|
|
|
|
[ /tftpboot/.amd ]
|
1998-08-23 22:07:21 +00:00
|
|
|
tag = tftpboot
|
|
|
|
map_name = amd.tftpboot
|
1998-09-12 04:04:59 +00:00
|
|
|
.Ed
|
|
|
|
.Sh SEE ALSO
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr hosts_access 5 ,
|
1998-09-12 04:04:59 +00:00
|
|
|
.Xr amd 8 ,
|
2016-11-11 02:42:53 +00:00
|
|
|
.Xr amq 8 ,
|
|
|
|
.xr automount 8 ,
|
|
|
|
.Xr ctl-amd 8 .
|
2007-12-07 20:16:21 +00:00
|
|
|
.Pp
|
|
|
|
.Dq am-utils
|
|
|
|
.Xr info 1
|
|
|
|
entry.
|
|
|
|
.Rs
|
|
|
|
.%A Erez Zadok
|
|
|
|
.%B "Linux NFS and Automounter Administration"
|
|
|
|
.%O ISBN 0-7821-2739-8
|
|
|
|
.%I Sybex
|
|
|
|
.%D 2001
|
|
|
|
.Re
|
|
|
|
.Pp
|
|
|
|
.Pa http://www.am-utils.org/
|
|
|
|
.Rs
|
|
|
|
.%T Amd \- The 4.4 BSD Automounter
|
|
|
|
.Re
|
2005-06-16 20:21:03 +00:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
2007-12-07 20:16:21 +00:00
|
|
|
.Xr amd 8
|
2005-06-16 20:21:03 +00:00
|
|
|
utility first appeared in
|
|
|
|
.Bx 4.4 .
|
1998-09-12 04:04:59 +00:00
|
|
|
.Sh AUTHORS
|
2007-12-07 20:16:21 +00:00
|
|
|
.An Erez Zadok Aq ezk@cs.sunysb.edu ,
|
|
|
|
Computer Science Department, Stony Brook University, Stony Brook, New York, USA.
|
1998-09-12 04:04:59 +00:00
|
|
|
.Pp
|
2007-12-07 20:16:21 +00:00
|
|
|
Other authors and contributors to am-utils are listed in the
|
2000-05-09 14:02:06 +00:00
|
|
|
.Pa AUTHORS
|
1998-08-23 22:07:21 +00:00
|
|
|
file distributed with am-utils.
|