head 1.13; access; symbols cjep_sun2x:1.13.0.32 cjep_sun2x-base:1.13 cjep_staticlib_x-base1:1.13 cjep_staticlib_x:1.13.0.30 cjep_staticlib_x-base:1.13 phil-wifi-20200421:1.13 phil-wifi-20200411:1.13 phil-wifi-20200406:1.13 pgoyette-compat-merge-20190127:1.13 pgoyette-compat-20190127:1.13 pgoyette-compat-20190118:1.13 pgoyette-compat-1226:1.13 pgoyette-compat-1126:1.13 pgoyette-compat-1020:1.13 pgoyette-compat-0930:1.13 pgoyette-compat-0906:1.13 pgoyette-compat-0728:1.13 pgoyette-compat-0625:1.13 pgoyette-compat-0521:1.13 pgoyette-compat-0502:1.13 pgoyette-compat-0422:1.13 pgoyette-compat-0415:1.13 pgoyette-compat-0407:1.13 pgoyette-compat-0330:1.13 pgoyette-compat-0322:1.13 pgoyette-compat-0315:1.13 pgoyette-compat:1.13.0.28 pgoyette-compat-base:1.13 prg-localcount2-base3:1.13 prg-localcount2-base2:1.13 prg-localcount2-base1:1.13 prg-localcount2:1.13.0.26 prg-localcount2-base:1.13 pgoyette-localcount-20170426:1.13 bouyer-socketcan-base1:1.13 pgoyette-localcount-20170320:1.13 bouyer-socketcan:1.13.0.24 bouyer-socketcan-base:1.13 pgoyette-localcount-20170107:1.13 pgoyette-localcount-20161104:1.13 localcount-20160914:1.13 pgoyette-localcount-20160806:1.13 pgoyette-localcount-20160726:1.13 pgoyette-localcount:1.13.0.22 pgoyette-localcount-base:1.13 netbsd-5-2-3-RELEASE:1.13 netbsd-5-1-5-RELEASE:1.13 yamt-pagecache-base9:1.13 yamt-pagecache-tag8:1.13 tls-earlyentropy:1.13.0.18 tls-earlyentropy-base:1.13 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.13 riastradh-drm2-base3:1.13 netbsd-5-2-2-RELEASE:1.13 netbsd-5-1-4-RELEASE:1.13 netbsd-5-2-1-RELEASE:1.13 netbsd-5-1-3-RELEASE:1.13 agc-symver:1.13.0.20 agc-symver-base:1.13 tls-maxphys-base:1.13 yamt-pagecache-base8:1.13 netbsd-5-2:1.13.0.16 yamt-pagecache-base7:1.13 netbsd-5-2-RELEASE:1.13 netbsd-5-2-RC1:1.13 yamt-pagecache-base6:1.13 yamt-pagecache-base5:1.13 yamt-pagecache-base4:1.13 netbsd-5-1-2-RELEASE:1.13 netbsd-5-1-1-RELEASE:1.13 yamt-pagecache-base3:1.13 yamt-pagecache-base2:1.13 yamt-pagecache:1.13.0.14 yamt-pagecache-base:1.13 bouyer-quota2-nbase:1.13 bouyer-quota2:1.13.0.12 bouyer-quota2-base:1.13 matt-nb5-pq3:1.13.0.10 matt-nb5-pq3-base:1.13 netbsd-5-1:1.13.0.8 netbsd-5-1-RELEASE:1.13 netbsd-5-1-RC4:1.13 netbsd-5-1-RC3:1.13 netbsd-5-1-RC2:1.13 netbsd-5-1-RC1:1.13 netbsd-5-0-2-RELEASE:1.13 netbsd-5-0-1-RELEASE:1.13 jym-xensuspend-nbase:1.13 netbsd-5-0:1.13.0.6 netbsd-5-0-RELEASE:1.13 netbsd-5-0-RC4:1.13 netbsd-5-0-RC3:1.13 netbsd-5-0-RC2:1.13 jym-xensuspend:1.13.0.4 jym-xensuspend-base:1.13 netbsd-5-0-RC1:1.13 netbsd-5:1.13.0.2 netbsd-5-base:1.13 matt-mips64-base2:1.12 matt-mips64:1.12.0.24 mjf-devfs2:1.12.0.22 mjf-devfs2-base:1.12 netbsd-4-0-1-RELEASE:1.12 wrstuden-revivesa-base-3:1.12 wrstuden-revivesa-base-2:1.12 wrstuden-fixsa-newbase:1.12 wrstuden-revivesa-base-1:1.12 yamt-pf42-base4:1.12 yamt-pf42-base3:1.12 hpcarm-cleanup-nbase:1.12 yamt-pf42-baseX:1.12 yamt-pf42-base2:1.12 wrstuden-revivesa:1.12.0.20 wrstuden-revivesa-base:1.12 yamt-pf42:1.12.0.18 yamt-pf42-base:1.12 keiichi-mipv6:1.12.0.16 keiichi-mipv6-base:1.12 matt-armv6-nbase:1.12 matt-armv6-prevmlocking:1.12 wrstuden-fixsa-base-1:1.12 netbsd-4-0:1.12.0.14 netbsd-4-0-RELEASE:1.12 cube-autoconf:1.12.0.12 cube-autoconf-base:1.12 netbsd-4-0-RC5:1.12 netbsd-4-0-RC4:1.12 netbsd-4-0-RC3:1.12 netbsd-4-0-RC2:1.12 netbsd-4-0-RC1:1.12 matt-armv6:1.12.0.10 matt-armv6-base:1.12 matt-mips64-base:1.12 hpcarm-cleanup:1.12.0.8 hpcarm-cleanup-base:1.12 netbsd-3-1-1-RELEASE:1.10.2.1 netbsd-3-0-3-RELEASE:1.10.2.1 wrstuden-fixsa:1.12.0.6 wrstuden-fixsa-base:1.12 abandoned-netbsd-4-base:1.12 abandoned-netbsd-4:1.12.0.2 netbsd-3-1:1.10.2.1.0.4 netbsd-3-1-RELEASE:1.10.2.1 netbsd-3-0-2-RELEASE:1.10.2.1 netbsd-3-1-RC4:1.10.2.1 netbsd-3-1-RC3:1.10.2.1 netbsd-3-1-RC2:1.10.2.1 netbsd-3-1-RC1:1.10.2.1 netbsd-4:1.12.0.4 netbsd-4-base:1.12 netbsd-3-0-1-RELEASE:1.10.2.1 am-utils-6-1-3:1.1.1.9 netbsd-3-0:1.10.2.1.0.2 netbsd-3-0-RELEASE:1.10.2.1 netbsd-3-0-RC6:1.10.2.1 netbsd-3-0-RC5:1.10.2.1 netbsd-3-0-RC4:1.10.2.1 netbsd-3-0-RC3:1.10.2.1 netbsd-3-0-RC2:1.10.2.1 netbsd-3-0-RC1:1.10.2.1 netbsd-2-0-3-RELEASE:1.8 netbsd-2-1:1.8.0.6 netbsd-2-1-RELEASE:1.8 netbsd-2-1-RC6:1.8 am-utils-6-1-2-1:1.1.1.9 netbsd-2-1-RC5:1.8 netbsd-2-1-RC4:1.8 netbsd-2-1-RC3:1.8 netbsd-2-1-RC2:1.8 netbsd-2-1-RC1:1.8 am-utils-6-1-20050417:1.1.1.8 netbsd-2-0-2-RELEASE:1.8 netbsd-3:1.10.0.2 netbsd-3-base:1.10 netbsd-2-0-1-RELEASE:1.8 netbsd-2:1.8.0.4 netbsd-2-base:1.8 netbsd-2-0-RELEASE:1.8 am-utils-6-1-20040916:1.1.1.7 netbsd-2-0-RC5:1.8 netbsd-2-0-RC4:1.8 netbsd-2-0-RC3:1.8 netbsd-2-0-RC2:1.8 netbsd-2-0-RC1:1.8 netbsd-2-0:1.8.0.2 netbsd-2-0-base:1.8 netbsd-1-6-PATCH002-RELEASE:1.5 netbsd-1-6-PATCH002:1.5 netbsd-1-6-PATCH002-RC4:1.5 netbsd-1-6-PATCH002-RC3:1.5 netbsd-1-6-PATCH002-RC2:1.5 netbsd-1-6-PATCH002-RC1:1.5 netbsd-1-6-PATCH001:1.5 netbsd-1-6-PATCH001-RELEASE:1.5 netbsd-1-6-PATCH001-RC3:1.5 am-utils-6-1b2:1.1.1.6 netbsd-1-6-PATCH001-RC2:1.5 netbsd-1-6-PATCH001-RC1:1.5 fvdl_fs64_base:1.6 am-utils-6-1b1:1.1.1.5 netbsd-1-6-RELEASE:1.5 netbsd-1-6-RC3:1.5 netbsd-1-6-RC2:1.5 netbsd-1-6-RC1:1.5 netbsd-1-6:1.5.0.2 netbsd-1-6-base:1.5 netbsd-1-5-PATCH003:1.1.1.1.2.1 netbsd-1-5-PATCH002:1.1.1.1.2.1 netbsd-1-5-PATCH001:1.1.1.1.2.1 am-utils-6-0-6-0:1.1.1.4 am-utils-6-0-6:1.1.1.3 am-utils-6-0-4:1.1.1.2 netbsd-1-5-RELEASE:1.1.1.1 netbsd-1-5-BETA2:1.1.1.1 netbsd-1-5-BETA:1.1.1.1 netbsd-1-5-ALPHA2:1.1.1.1 minoura-xpg4dl:1.1.1.1.0.4 minoura-xpg4dl-base:1.1.1.1 netbsd-1-5:1.1.1.1.0.2 netbsd-1-5-base:1.1.1.1 am-utils-6-0-3:1.1.1.1 ezk:1.1.1; locks; strict; comment @.\" @; 1.13 date 2008.10.28.14.06.20; author christos; state dead; branches; next 1.12; 1.12 date 2005.09.20.17.57.45; author rpaulo; state Exp; branches; next 1.11; 1.11 date 2005.04.23.18.38.18; author christos; state Exp; branches; next 1.10; 1.10 date 2004.11.27.23.23.26; author wiz; state Exp; branches 1.10.2.1; next 1.9; 1.9 date 2004.11.27.01.24.36; author christos; state Exp; branches; next 1.8; 1.8 date 2003.04.06.20.51.20; author wiz; state Exp; branches; next 1.7; 1.7 date 2003.03.09.01.38.51; author christos; state Exp; branches; next 1.6; 1.6 date 2002.11.29.23.06.27; author christos; state Exp; branches; next 1.5; 1.5 date 2001.12.18.09.31.49; author wiz; state Exp; branches; next 1.4; 1.4 date 2001.05.13.18.07.01; author veego; state Exp; branches; next 1.3; 1.3 date 2001.04.09.12.11.58; author wiz; state Exp; branches; next 1.2; 1.2 date 2001.04.08.13.48.33; author tron; state Exp; branches; next 1.1; 1.1 date 2000.06.07.00.52.24; author dogcow; state Exp; branches 1.1.1.1; next ; 1.10.2.1 date 2005.08.16.13.02.37; author tron; state Exp; branches; next 1.10.2.2; 1.10.2.2 date 2007.02.24.12.17.32; author bouyer; state Exp; branches; next ; 1.1.1.1 date 2000.06.07.00.52.24; author dogcow; state Exp; branches 1.1.1.1.2.1 1.1.1.1.4.1; next 1.1.1.2; 1.1.1.2 date 2000.11.19.23.44.29; author wiz; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2001.05.13.17.34.44; author veego; state Exp; branches; next 1.1.1.4; 1.1.1.4 date 2001.05.13.17.50.33; author veego; state Exp; branches; next 1.1.1.5; 1.1.1.5 date 2002.11.29.22.59.11; author christos; state Exp; branches; next 1.1.1.6; 1.1.1.6 date 2003.03.09.01.14.08; author christos; state Exp; branches; next 1.1.1.7; 1.1.1.7 date 2004.11.27.01.01.09; author christos; state Exp; branches; next 1.1.1.8; 1.1.1.8 date 2005.04.23.18.13.38; author christos; state Exp; branches; next 1.1.1.9; 1.1.1.9 date 2005.09.20.17.16.33; author rpaulo; state Exp; branches; next ; 1.1.1.1.2.1 date 2001.04.26.10.58.05; author he; state Exp; branches; next ; 1.1.1.1.4.1 date 2000.06.07.00.52.24; author dogcow; state dead; branches; next 1.1.1.1.4.2; 1.1.1.1.4.2 date 2000.06.07.00.52.25; author dogcow; state Exp; branches; next ; desc @@ 1.13 log @Moved a long time ago to external @ text @.\" $NetBSD: amd.conf.5,v 1.12 2005/09/20 17:57:45 rpaulo Exp $ .\" .\" .\" Copyright (c) 1997-2005 Erez Zadok .\" 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. .\" 3. All advertising materials mentioning features or use of this software .\" must display the following acknowledgment: .\" This product includes software developed by the University of .\" California, Berkeley and its contributors. .\" 4. Neither the name of the University nor the names of its contributors .\" 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. .\" .\" %W% (Berkeley) %G% .\" .\" Id: amd.conf.5,v 1.39.2.2 2005/09/18 21:58:05 ezk Exp .\" .TH AMD.CONF 5 "7 August 1997" .SH NAME amd.conf \- Amd configuration file .SH SYNOPSIS .B amd.conf .SH DESCRIPTION The .B amd.conf file is the configuration file for Amd, as part of the am-utils suite. .P .B amd.conf contains runtime configuration information for the .B Amd automounter program. .\" ************************************************************************** .SH FILE FORMAT .P The file consists of sections and parameters. A section begins with the name of the section in square brackets and continues until the next section begins or the end the file is reached. Sections contain parameters of the form 'name = value'. .P The file is line-based - that is, each newline-terminated line represents either a comment, a section name or a parameter. No line-continuation syntax is available. .P Section, parameter names and their values are case sensitive. .P 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 whitespace within a parameter value is not allowed, unless the whole parameter value is quoted with double quotes as in 'name = "some value"'. .P Any line beginning with a pound sign (#) is ignored, as are lines containing only whitespace. .P 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 be given as yes/no. Case is significant in all values. Some items such as cache timeouts are numeric. .\" ************************************************************************** .SH SECTIONS .SS The [global] section Parameters in this section either apply to 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. .P It is highly recommended that this section be specified first in the configuration file. If it is not, then regular map sections which precede it will not use global values defined later. .SS Regular [/map] sections Parameters in regular (non-global) sections apply to a single map entry. For example, if the map section .B [/homes] is defined, then all parameters following it will be applied to the .I /homes Amd-managed mount point. .\" ************************************************************************** .SH PARAMETERS .SS Parameters common to all sections These parameters can be specified either in the global or a map specific 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 specified only in the global section, it is applicable to all regular map sections that follow. .\" ************************************************************************** .TP .BR browsable_dirs " (string, default=no)" If "yes," then Amd's top-level mount points will be browsable to .BR readdir (3) calls. This means you could run for example .BR ls (1) and see what keys are available to mount in that directory. Not all entries are made visible to readdir(3): the "/default" entry, wildcard entries, and those with a "/" in them are not included. If you specify "full" to this option, all but "/default" will be visible. Note that if you run a command which will attempt to .BR stat (2) the entries, such as often done by "ls -l" or "ls -F," Amd will attempt to mount .I every entry in that map. This is often called a ``mount storm.'' .TP .BR map_defaults " (string, default to empty)" This option sets a string to be used as the map's /defaults entry, overriding any /defaults specified in the map. This allows local users to override map defaults without modifying maps globally. .TP .BR map_options " (string, default no options)" This option is the same as specifying map options on the command line to Amd, such as "cache:=all". .TP .BR map_type " (string, default search all map types)" If specified, Amd will initialize the map only for the type given. This is useful to avoid the default map search type used by Amd which takes longer and can have undesired side-effects such as initializing NIS even if not used. Possible values are .nf \fBexec\fR executable maps \fBfile\fR plain files \fBhesiod\fR Hesiod name service from MIT \fBldap\fR Lightweight Directory Access Protocol \fBndbm\fR (New) dbm style hash files \fBnis\fR Network Information Services (version 2) \fBnisplus\fR Network Information Services Plus (version 3) \fBpasswd\fR local password files \fBunion\fR union maps .fi .TP .BR mount_type " (string, default=nfs)" All Amd mount types default to NFS. That is, Amd is an NFS server on the map mount points, for the local host it is running on. If "autofs" is specified, Amd will be an autofs server for those mount points. .TP .BR autofs_use_lofs " (string, default=yes)" When set to "yes" and using Autofs, Amd 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 "no," then Amd will use symlinks instead: that code is more tested, but negates autofs's big advantage of in-place mounts. .TP .BR search_path " (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 distributed maps in several locations as needed. .TP .BR selectors_in_defaults " (boolean, default=no)" If "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. For example, you may want to better the NFS performance over slow slip-based networks as follows: .nf /defaults \\ wire==slip-net;opts:=intr,rsize=1024,wsize=1024 \\ wire!=slip-net;opts:=intr,rsize=8192,wsize=8192 .fi Deprecated form: selectors_on_default .\" ************************************************************************** .SS Parameters applicable to the global section only .TP .BR arch " (string, default to compiled in value)" Same as the .B \-A option to Amd. Allows you to override the value of the .I arch Amd variable. .TP .BR auto_attrcache " (numeric, default=0)" Specify in seconds (or units of 0.1 seconds, depending on the OS), what is the (kernel-side) NFS attribute cache timeout for @@i{Amd}'s own automount points. A value of 0 is supposed to turn off attribute caching, meaning that @@i{Amd} 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, Amd may not work reliably under heavy load. See the README.attrcache document in the Am-utils distribution for more details. .TP .BR auto_dir " (string, default=/a)" Same as the .B \-a option to Amd. This sets the private directory where Amd will create sub-directories for its real mount points. .TP .BR cache_duration " (numeric, default=300)" Same as the .B \-c option to Amd. Sets the duration in seconds that looked-up or mounted map entries remain in the cache. .TP .BR cluster " (string, default no cluster)" Same as the .B \-C option to Amd. Specifies the alternate HP-UX cluster to use. .TP .BR debug_mtab_file " (string, default=/tmp/mnttab)" Path to mtab file that is used by Amd to store a list of mounted file systems during debug-mtab mode. This option only applies to systems that store mtab information on disk. .TP .TP .BR debug_options " (string, default no debug options)" Same as the .B \-D option to Amd. Specify any debugging options for Amd. Works only if am-utils was configured for debugging using the --enable-debug option. The "mem" option, as well as all other options, can be turned on via --enable-debug=mem. Otherwise debugging options are ignored. Options are comma delimited, and can be preceded by the string "no" to negate their meaning. You can get the list of supported debugging options by running Amd \-H. Possible values are: .nf \fBall\fR all options \fBamq\fR register for amq \fBdaemon\fR enter daemon mode \fBfork\fR fork server \fBfull\fR program trace \fBhrtime\fR print high resolution time stamps (only if syslog(3) is not used) \fBinfo\fR info service specific debugging (hesiod, nis, etc.) \fBmem\fR trace memory allocations \fBmtab\fR use local "./mtab" file \fBreaddir\fR show browsable_dirs progress \fBstr\fR debug string munging \fBtest\fR full debug but no daemon \fBtrace\fR trace protocol and NFS mount arguments \fBxdrtrace\fR trace XDR routines .fi .TP .BR dismount_interval " (numeric, default=120)" Same as the .B \-w option to Amd. Specify in seconds, the time between attempts to dismount file systems that have exceeded their cached times. .TP .BR domain_strip " (boolean, default=yes)" If "yes," then the domain name part referred to by ${rhost} is stripped off. This is useful to keep logs and smaller. If "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). .TP .BR exec_map_timeout " (numeric, default=10)" The timeout in seconds that .I Amd will wait for an executable map program before an answer is returned from that program (or script). This value should be set to as small as possible while still allowing normal replies to be returned before the timer expires, because during the time that the executable map program is queried, .I Amd is essentially waiting and is thus not responding to any other queries. .TP .BR forced_unmounts " (boolean, default=no)" If set to "yes," and the client OS supports forced or lazy unmounts, then .I Amd 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: EIO, ESTALE, or EBUSY. 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 "type:=toplvl" mounts hung with EBUSY are forcibly unmounted using this option, which is useful to recover from a hung .IR Amd ). .TP .BR full_os " (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 ``linux'', but you can override it to ``linux-2.2.5.'' .TP .BR fully_qualified_hosts " (string, default=no)" If "yes," .I Amd will perform RPC authentication using fully-qualified host names. This is necessary for some systems, and especially when performing cross-domain mounting. For this function to work, the .I Amd variable ${hostd} is used, requiring that ${domain} not be null. .TP .BR hesiod_base " (string, default=automount)" Specify the base name for hesiod maps. .TP .BR karch " (string, default to karch of the system)" Same as the .B \-k option to amd. Allows you to override the kernel-architecture of your system. Useful for example on Sun (SPARC) machines, where you can build one amd binary, and run it on multiple machines, yet you want each one to get the correct .I karch variable set (for example, sun4c, sun4m, sun4u, etc.) Note that if not specified, Amd will use uname(3) to figure out the kernel architecture of the machine. .TP .BR ldap_base " (string, default not set)" Specify the base name for LDAP. This often includes LDAP-specific values such as country and organization. .TP .BR ldap_cache_maxmem " (numeric, default=131072)" Specify the maximum memory Amd should use to cache LDAP entries. .TP .BR ldap_cache_seconds " (numeric, default=0)" Specify the number of seconds to keep entries in the cache. .TP .BR ldap_hostports " (string, default not set)" Specify the LDAP host and port values. .TP .BR ldap_proto_version " (numeric, default=2)" Specify the version of the LDAP protocol to use. .TP .BR local_domain " (string, default no sub-domain)" Same as the .B \-d option to Amd. Specify the local domain name. 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. .TP .BR localhost_address " (string, default to localhost or 127.0.0.1)" Specify the name or IP address for Amd 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 Amd to connect to a specific address. .TP .BR log_file " (string, default=/dev/stderr)" Same as the .B \-l option to Amd. Specify a file name to log Amd events to. If the string .B /dev/stderr is specified, Amd will send its events to the standard error file descriptor. If the string .B syslog is given, Amd will record its events with the system logger .BR syslogd (8). The default syslog facility used is LOG_DAEMON. If you wish to change it, append its name to the log file name, delimited by a single colon. For example, if .I logfile is the string .B syslog:local7 then Amd will log messages via .IR syslog (3) using the LOG_LOCAL7 facility (if it exists on the system). .TP .BR log_options " (string, default no logging options)" Same as the .B \-x option to Amd. Specify any logging options for Amd. Options are comma delimited, and can be preceded by the string "no" to negate their meaning. The "debug" logging option is only available if am-utils was configured with --enable-debug. You can get the list of supported debugging and logging options by running .B amd .BR \-H . Possible values are: .nf \fBall\fR all messages \fBdebug\fR debug messages \fBerror\fR non-fatal system errors \fBfatal\fR fatal errors \fBinfo\fR information \fBmap\fR map errors \fBstats\fR additional statistical information \fBuser\fR non-fatal user errors \fBwarn\fR warnings \fBwarning\fR warnings .fi .TP .BR map_reload_interval " (numeric, default=3600)" The number of seconds that Amd will wait before it checks to see if any maps have changed at their source (NIS servers, LDAP servers, files, etc.). Amd will reload only those maps that have changed. .TP .BR nfs_allow_insecure_port " (string, default=no)" Normally Amd 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 Amd to stop dead in its tracks. This parameter allows Amd 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 "ignoring request from foo:1234, port not reserved" in your Amd log, try enabling this parameter and give it another go. .TP .BR nfs_proto " (string, default to trying version tcp then udp)" By default, Amd tries TCP and then UDP. This option forces the overall NFS protocol used to TCP or UDP. It overrides what is in the Amd maps, and is useful when Amd is compiled with NFSv3 support that may not be stable. With this option you can turn off the complete usage of NFSv3 dynamically (without having to recompile Amd) until such time as NFSv3 support is desired again. .TP .BR nfs_retransmit_counter " (numeric, default=11)" Same as the .I retransmit part of the .BI \-t " timeout.retransmit" option to Amd. Specifies the number of NFS retransmissions that the kernel will use to communicate with Amd. .TP .BR nfs_retransmit_counter_udp " (numeric, default=11)" Same as the .B nfs_retransmit_counter option, but for all UDP mounts only. .TP .BR nfs_retransmit_counter_tcp " (numeric, default=11)" Same as the .B nfs_retransmit_counter option, but for all TCP mounts only. .TP .BR nfs_retry_interval " (numeric, default=8)" Same as the .I timeout part of the .BI \-t " timeout.retransmit" option to Amd. Specifies the NFS timeout interval, in .I tenths of seconds, between NFS/RPC retries (for UDP and TCP). This is the value that the kernel will use to communicate with Amd. Amd relies on the kernel RPC retransmit mechanism to trigger mount retries. The values of the .B nfs_retransmit_counter and the .B nfs_retry_interval parameters change the overall retry interval. Too long an interval gives poor interactive response; too short an interval causes excessive retries. .TP .BR nfs_retry_interval_udp " (numeric, default=8)" Same as the .B nfs_retry_interval option, but for all UDP mounts only. .TP .BR nfs_retry_interval_tcp " (numeric, default=8)" Same as the .B nfs_retry_interval option, but for all TCP mounts only. .TP .BR nfs_vers " (numeric, default to trying version 3 then 2)" By default, Amd tries version 3 and then version 2. This option forces the overall NFS protocol used to version 3 or 2. It overrides what is in the Amd maps, and is useful when Amd is compiled with NFSv3 support that may not be stable. With this option you can turn off the complete usage of NFSv3 dynamically (without having to recompile Amd) until such time as NFSv3 support is desired again. .TP .BR nis_domain " (string, default to local NIS domain name)" Same as the .B \-y option to Amd. Specify an alternative NIS domain from which to fetch the NIS maps. The default is the system domain name. This option is ignored if NIS support is not available. .TP .BR normalize_hostnames " (boolean, default=no)" Same as the .B \-n option to Amd. If "yes," then the name refereed to by ${rhost} is normalized relative to the host database before being used. The effect is to translate aliases into ``official'' names. .TP .BR normalize_slashes " (boolean, default=yes)" If "yes," then Amd will condense all multiple ``/'' (slash) characters into one and remove all trailing slashes. If "no," then Amd 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. .TP .BR os " (string, default to compiled in value)" Same as the .B \-O option to Amd. Allows you to override the compiled-in name of the operating system. Useful when the built-in name is not desired for backward compatibility reasons. For example, if the build in name is ``sunos5'', you can override it to ``sos5'', and use older maps which were written with the latter in mind. .TP .BR osver " (string, default to compiled in value)" Same as the .B \-o option to Amd. Overrides the compiled-in version number of the operating system. Useful when the built in version is not desired for backward compatibility reasons. For example, if the build in version is ``2.5.1'', you can override it to ``5.5.1'', and use older maps that were written with the latter in mind. .TP .BR pid_file " (string, default=/dev/stdout)" Specify a file to store the process ID of the running daemon into. If not specified, Amd will print its process id onto the standard output. Useful for killing Amd after it had run. Note that the PID of a running Amd can also be retrieved via .B amq .BR \-p . This file is used only if the print_pid option is on. .TP .BR plock " (boolean, default=yes)" Same as the .B \-S option to Amd. If "yes," lock the running executable pages of Amd into memory. To improve Amd's performance, systems that support the .BR plock (3) or .BR mlockall (2) call can lock the Amd process into memory. This way there is less chance it the operating system will schedule, page out, and swap the Amd process as needed. This improves Amd's performance, at the cost of reserving the memory used by the Amd process (making it unavailable for other processes). .TP .BR portmap_program " (numeric, default=300019)" Specify an alternate Port-mapper RPC program number, other than the official number. This is useful when running multiple Amd processes. For example, you can run another Amd in "test" mode, without affecting the primary Amd process in any way. For safety reasons, the alternate program numbers that can be specified must be in the range 300019-300029, inclusive. Amq has an option .B -P which can be used to specify an alternate program number of an Amd to contact. In this way, amq can fully control any number of Amd processes running on the same host. .TP .BR preferred_amq_port " (numeric, default=0)" Specify an alternate Port-mapper RPC port number for Amd's Amq service. This is used for both UDP and TCP. Setting this value to 0 (or not defining it) will cause Amd to select an arbitrary port number. Setting the Amq RPC service port to a specific number is useful in firewalled or NAT'ed environments, where you need to know which port Amd will listen on. .TP .BR print_pid " (boolean, default=no)" Same as the .B \-p option to Amd. If "yes," Amd will print its process ID upon starting. .TP .BR print_version " (boolean, default=no)" Same as the .B \-v option to Amd, but the version prints and Amd continues to run. If "yes," Amd will print its version information string, which includes some configuration and compilation values. .TP .BR restart_mounts " (boolean, default=no)" Same as the .B \-r option to Amd. If "yes" Amd will scan the mount table to determine which file systems are currently mounted. Whenever one of these would have been auto-mounted, Amd inherits it. .TP .BR show_statfs_entries " (boolean), default=no)" If "yes," then all maps which are browsable will also show the number of entries (keys) they have when "df" runs. (This is accomplished by returning non-zero values to the statfs(2) system call). .TP .BR truncate_log " (boolean), default=no)" If "yes," then the log file (if it is a regular file), will be truncated upon startup. .TP .BR unmount_on_exit " (boolean), default=no)" If "yes," then Amd will attempt to unmount all file systems which it knows about. Normally Amd leaves all (esp. NFS) mounted file systems intact. Note that Amd does not know about file systems mounted before it starts up, unless the restart_mounts option or .B \-r flag are used. .TP .BR use_tcpwrappers " (boolean), default=yes)" If "yes," then Amd will use the tcpd/librwap tcpwrappers library (if available) to control access to Amd via the /etc/hosts.allow and /etc/hosts.deny files. .TP .BR vendor " (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 ``unknown'', but you can set it to ``redhat.'' .\" ************************************************************************** .SS Parameters applicable to regular map sections .TP .BR map_name " (string, must be specified)" Name of the map where the keys are located. .TP .BR tag " (string, default no tag)" Each map entry in the configuration file can be tagged. If no tag is specified, that map section will always be processed by Amd. If it is specified, then Amd will process the map if the .B -T option was given to Amd, and the value given to that command-line option matches that in the map section. .\" ************************************************************************** .SH EXAMPLES Here is a real Amd configuration file I use daily. .P .nf # 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 selectors_in_defaults = yes # 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 [ /proj ] map_name = amd.proj [ /src ] map_name = amd.src [ /misc ] map_name = amd.misc [ /import ] map_name = amd.import [ /tftpboot/.amd ] tag = tftpboot map_name = amd.tftpboot .fi .\" ************************************************************************** .SH "SEE ALSO" .BR amd (8), .BR amq (8), .\" .BR ctl-amd (8), .BR hosts_access (5). .LP ``am-utils'' .BR info (1) entry. .LP .I "Linux NFS and Automounter Administration" by Erez Zadok, ISBN 0-7821-2739-8, (Sybex, 2001). .LP .I http://www.am-utils.org .LP .I "Amd \- The 4.4 BSD Automounter" .SH AUTHORS Erez Zadok , Computer Science Department, Stony Brook University, Stony Brook, New York, USA. .P Other authors and contributors to am-utils are listed in the .B AUTHORS file distributed with am-utils. @ 1.12 log @Merge am-utils 6.1.2.1. @ text @d1 1 a1 1 .\" $NetBSD: amd.conf.5,v 1.1.1.9 2005/09/20 17:16:33 rpaulo Exp $ @ 1.11 log @Resolve conflicts. @ text @d1 1 a1 1 .\" $NetBSD: amd.conf.5,v 1.1.1.8 2005/04/23 18:13:38 christos Exp $ d43 1 a43 1 .\" Id: amd.conf.5,v 1.37 2005/04/17 03:05:54 ezk Exp d47 1 a47 1 amd.conf \- amd configuration file d53 1 a53 1 file is the configuration file for amd, as part of the am-utils suite. d57 1 a57 1 .B amd d90 1 a90 1 Parameters in this section either apply to amd as a whole, or to all other d104 1 a104 1 amd-managed mount point. d116 1 a116 1 If "yes," then amd's top-level mount points will be browsable to d126 1 a126 1 the entries, such as often done by "ls -l" or "ls -F," amd will attempt to d129 1 a129 1 entry in that map. This is often called a ``mount storm''. d140 1 a140 1 amd, such as "cache:=all". d144 2 a145 2 If specified, amd will initialize the map only for the type given. This is useful to avoid the default map search type used by amd which takes longer d163 1 a163 1 All amd mount types default to NFS. That is, amd is an NFS server on the d165 1 a165 1 specified, amd will be an autofs server for those mount points. d181 16 d204 1 a204 1 option to amd. Allows you to override the value of the d206 1 a206 1 amd variable. d210 8 a217 7 Specify in seconds, the (kernel-side) NFS attribute cache timeout for amd's own automount points. A value of 0 turns off attribute caching, meaning that amd 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: if you set this option to any non-zero value, especially a large value, and you get ESTALE errors on your particular OS , then set this value back to 0 seconds. d223 1 a223 1 option to amd. This sets the private directory where amd will create d230 1 a230 1 option to amd. Sets the duration in seconds that looked-up or mounted map d237 1 a237 1 option to amd. Specifies the alternate HP-UX cluster to use. d250 1 a250 1 option to amd. Specify any debugging options for amd. Works only if d255 1 a255 1 meaning. You can get the list of supported debugging options by running amd d279 1 a279 1 option to amd. Specify in seconds, the time between attempts to dismount d303 15 d349 1 a349 1 specified, amd will use uname(3) to figure out the kernel architecture of d359 1 a359 1 Specify the maximum memory amd should use to cache LDAP entries. d377 1 a377 1 option to amd. Specify the local domain name. If this option is not given d383 1 a383 1 Specify the name or IP address for amd to use when connecting the sockets d386 1 a386 1 hosts with multiple addresses where you want to force amd to connect to a d393 1 a393 1 option to amd. Specify a file name to log amd events to. d396 1 a396 1 is specified, amd will send its events to the standard error file descriptor. d399 1 a399 1 is given, amd will record its events with the system logger d407 1 a407 1 then amd will log messages via d415 1 a415 1 option to amd. Specify any logging options for amd. Options are comma d419 4 a422 1 options by running amd \-H. Possible values are: d439 1 a439 1 The number of seconds that amd will wait before it checks to see if any maps d445 1 a445 1 Normally amd will refuse requests coming from unprivileged ports (i.e. d449 2 a450 2 ports in certain situations, which causes amd to stop dead in its tracks. This parameter allows amd to operate normally even on such systems, d453 1 a453 1 in your amd log, try enabling this parameter and give it another go. d457 3 a459 3 By default, amd tries TCP and then UDP. This option forces the overall NFS protocol used to TCP or UDP. It overrides what is in the amd maps, and is useful when amd is compiled with NFSv3 support that may not be stable. With d461 1 a461 1 (without having to recompile amd) until such time as NFSv3 support is d470 1 a470 1 option to amd. d472 1 a472 1 communicate with amd. d492 1 a492 1 option to amd. Specifies the NFS timeout interval, in d496 1 a496 1 communicate with amd. d520 1 a520 1 By default, amd tries version 3 and then version 2. This option forces the d522 1 a522 1 amd maps, and is useful when amd is compiled with NFSv3 support that may not d524 1 a524 1 dynamically (without having to recompile amd) until such time as NFSv3 d531 1 a531 1 option to amd. Specify an alternative NIS domain from which to fetch the d539 1 a539 1 option to amd. If "yes," then the name refereed to by ${rhost} is d546 2 a547 2 If "yes," then amd will condense all multiple ``/'' (slash) characters into one and remove all trailing slashes. If "no," then amd will not touch d556 1 a556 1 option to amd. Allows you to override the compiled-in name of the operating d566 1 a566 1 option to amd. Overrides the compiled-in version number of the operating d575 2 a576 2 specified, amd will print its process id onto the standard output. Useful for killing amd after it had run. Note that the PID of a running amd can d586 3 a588 3 option to amd. If "yes," lock the running executable pages of amd into memory. To improve amd's performance, systems that support the d592 4 a595 4 call can lock the amd process into memory. This way there is less chance it the operating system will schedule, page out, and swap the amd process as needed. This improves amd's performance, at the cost of reserving the memory used by the amd process (making it unavailable for other processes). d600 2 a601 2 number. This is useful when running multiple amd processes. For example, you can run another amd in "test" mode, without affecting the primary amd d604 1 a604 1 .B amq d607 2 a608 2 which can be used to specify an alternate program number of an amd to contact. In this way, amq can fully control any number of amd processes d614 1 a614 1 .B amq d617 1 a617 1 .B amd d619 1 a619 1 .B amq d622 1 a622 1 .B amd d629 1 a629 1 option to amd. If "yes," amd will print its process ID upon starting. d635 2 a636 2 option to amd, but the version prints and amd continues to run. If "yes," amd will print its version information string, which includes some d643 2 a644 2 option to amd. If "yes" .B amd d647 1 a647 1 .B amd a650 16 .BR selectors_in_defaults " (boolean, default=no)" If "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. For example, you may want to better the NFS performance over slow slip-based networks as follows: .nf /defaults \\ wire==slip-net;opts:=intr,rsize=1024,wsize=1024 \\ wire!=slip-net;opts:=intr,rsize=8192,wsize=8192 .fi Deprecated form: selectors_on_default .TP d657 5 d663 3 a665 3 If "yes," then amd will attempt to unmount all file systems which it knows about. Normally amd leaves all (esp. NFS) mounted file systems intact. Note that amd does not know about file systems mounted before it starts up, d672 1 a672 1 If "yes," then amd will use the tcpd/librwap tcpwrappers library d674 1 a674 1 access to amd via the /etc/hosts.allow and /etc/hosts.deny files. d693 2 a694 2 specified, that map section will always be processed by amd. If it is specified, then amd will process the map if the d696 1 a696 1 option was given to amd, and the value given to that command-line option d701 1 a701 1 Here is a real amd configuration file I use daily. @ 1.10 log @Fix typo in formatting. @ text @d1 1 a1 1 .\" $NetBSD: amd.conf.5,v 1.9 2004/11/27 01:24:36 christos Exp $ d4 1 a4 1 .\" Copyright (c) 1997-2004 Erez Zadok d43 1 a43 1 .\" Id: amd.conf.5,v 1.27 2004/01/22 05:01:06 ezk Exp d116 1 a116 1 If "yes", then amd's top-level mount points will be browsable to d126 1 a126 1 the entries, such as often done by "ls -l" or "ls -F", amd will attempt to d150 1 d172 1 a172 1 option is set to "no", then Amd will use symlinks instead: that code is more d193 10 d213 2 a214 2 option to amd. Sets the duration in seconds that looked up map entries remain in the cache. d223 7 d266 20 d295 1 a295 1 If "yes", d440 12 d459 1 a459 1 of seconds, between NFS/RPC retries (for UDP only). d472 12 d504 1 a504 1 option to amd. If "yes", then the name refereed to by ${rhost} is d509 9 d552 1 a552 1 If "yes", lock the running executable pages of amd into memory. To improve d577 14 d594 1 a594 1 option to amd. If "yes", amd will print its process ID upon starting. d600 1 a600 1 option to amd, but the version prints and amd continues to run. If "yes", d617 1 a617 1 If "yes", then the /defaults entry of maps will search for and process any d633 1 a633 1 If "yes", then all maps which are browsable will also show the number of d639 1 a639 1 If "yes", then amd will attempt to unmount all file systems which it knows d648 1 a648 1 If "yes", then amd will use the tcpd/librwap tcpwrappers library d693 1 a693 1 # if you print_version after setting up "os", it will show it. @ 1.10.2.1 log @Apply patch (requested by soda in ticket #670): Update am-utils to version 6-1-20050417. @ text @d1 1 a1 1 .\" $NetBSD: amd.conf.5,v 1.11 2005/04/23 18:38:18 christos Exp $ d4 1 a4 1 .\" Copyright (c) 1997-2005 Erez Zadok d43 1 a43 1 .\" Id: amd.conf.5,v 1.37 2005/04/17 03:05:54 ezk Exp d116 1 a116 1 If "yes," then amd's top-level mount points will be browsable to d126 1 a126 1 the entries, such as often done by "ls -l" or "ls -F," amd will attempt to a149 1 \fBexec\fR executable maps d171 1 a171 1 option is set to "no," then Amd will use symlinks instead: that code is more a191 10 .BR auto_attrcache " (numeric, default=0)" Specify in seconds, the (kernel-side) NFS attribute cache timeout for amd's own automount points. A value of 0 turns off attribute caching, meaning that amd 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: if you set this option to any non-zero value, especially a large value, and you get ESTALE errors on your particular OS , then set this value back to 0 seconds. .TP d202 2 a203 2 option to amd. Sets the duration in seconds that looked-up or mounted map entries remain in the cache. a211 7 .BR debug_mtab_file " (string, default=/tmp/mnttab)" Path to mtab file that is used by Amd to store a list of mounted file systems during debug-mtab mode. This option only applies to systems that store mtab information on disk. .TP .TP a247 20 .BR domain_strip " (boolean, default=yes)" If "yes," then the domain name part referred to by ${rhost} is stripped off. This is useful to keep logs and smaller. If "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). .TP .BR exec_map_timeout " (numeric, default=10)" The timeout in seconds that .I Amd will wait for an executable map program before an answer is returned from that program (or script). This value should be set to as small as possible while still allowing normal replies to be returned before the timer expires, because during the time that the executable map program is queried, .I Amd is essentially waiting and is thus not responding to any other queries. .TP d257 1 a257 1 If "yes," a401 12 .BR nfs_retransmit_counter_udp " (numeric, default=11)" Same as the .B nfs_retransmit_counter option, but for all UDP mounts only. .TP .BR nfs_retransmit_counter_tcp " (numeric, default=11)" Same as the .B nfs_retransmit_counter option, but for all TCP mounts only. .TP d409 1 a409 1 of seconds, between NFS/RPC retries (for UDP and TCP). a421 12 .BR nfs_retry_interval_udp " (numeric, default=8)" Same as the .B nfs_retry_interval option, but for all UDP mounts only. .TP .BR nfs_retry_interval_tcp " (numeric, default=8)" Same as the .B nfs_retry_interval option, but for all TCP mounts only. .TP d442 1 a442 1 option to amd. If "yes," then the name refereed to by ${rhost} is a446 9 .BR normalize_slashes " (boolean, default=yes)" If "yes," then amd will condense all multiple ``/'' (slash) characters into one and remove all trailing slashes. If "no," then amd 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. .TP d481 1 a481 1 If "yes," lock the running executable pages of amd into memory. To improve a505 14 .BR preferred_amq_port " (numeric, default=0)" Specify an alternate Port-mapper RPC port number for Amd's .B amq service. This is used for both UDP and TCP. Setting this value to 0 (or not defining it) will cause .B amd to select an arbitrary port number. Setting the .B amq RPC service port to a specific number is useful in firewalled or NAT'ed environments, where you need to know which port .B amd will listen on. .TP d509 1 a509 1 option to amd. If "yes," amd will print its process ID upon starting. d515 1 a515 1 option to amd, but the version prints and amd continues to run. If "yes," d532 1 a532 1 If "yes," then the /defaults entry of maps will search for and process any d548 1 a548 1 If "yes," then all maps which are browsable will also show the number of d554 1 a554 1 If "yes," then amd will attempt to unmount all file systems which it knows d563 1 a563 1 If "yes," then amd will use the tcpd/librwap tcpwrappers library d608 1 a608 1 # if you print_version after setting up "os," it will show it. @ 1.10.2.2 log @Apply patch to the following files (requested by tron in ticket #1665): dist/am-utils/AUTHORS patch dist/am-utils/BUGS patch dist/am-utils/ChangeLog patch dist/am-utils/INSTALL patch dist/am-utils/Makefile.am patch dist/am-utils/Makefile.in patch dist/am-utils/NEWS patch dist/am-utils/README.attrcache new file dist/am-utils/README.autofs patch dist/am-utils/acinclude.m4 patch dist/am-utils/aclocal.m4 patch dist/am-utils/amd/Makefile.am patch dist/am-utils/amd/am_ops.c patch dist/am-utils/amd/amd.8 patch dist/am-utils/amd/amd.c patch dist/am-utils/amd/amd.h patch dist/am-utils/amd/amfs_auto.c patch dist/am-utils/amd/amfs_direct.c patch dist/am-utils/amd/amfs_error.c patch dist/am-utils/amd/amfs_generic.c patch dist/am-utils/amd/amfs_host.c patch dist/am-utils/amd/amfs_link.c patch dist/am-utils/amd/amfs_linkx.c patch dist/am-utils/amd/amfs_nfsl.c patch dist/am-utils/amd/amfs_nfsx.c patch dist/am-utils/amd/amfs_program.c patch dist/am-utils/amd/amfs_root.c patch dist/am-utils/amd/amfs_toplvl.c patch dist/am-utils/amd/amfs_union.c patch dist/am-utils/amd/amq_subr.c patch dist/am-utils/amd/amq_svc.c patch dist/am-utils/amd/autil.c patch dist/am-utils/amd/clock.c patch dist/am-utils/amd/conf.c patch dist/am-utils/amd/conf_parse.y patch dist/am-utils/amd/conf_tok.l patch dist/am-utils/amd/get_args.c patch dist/am-utils/amd/info_exec.c patch dist/am-utils/amd/info_file.c patch dist/am-utils/amd/info_hesiod.c patch dist/am-utils/amd/info_ldap.c patch dist/am-utils/amd/info_ndbm.c patch dist/am-utils/amd/info_nis.c patch dist/am-utils/amd/info_nisplus.c patch dist/am-utils/amd/info_passwd.c patch dist/am-utils/amd/info_union.c patch dist/am-utils/amd/map.c patch dist/am-utils/amd/mapc.c patch dist/am-utils/amd/mntfs.c patch dist/am-utils/amd/nfs_prot_svc.c patch dist/am-utils/amd/nfs_start.c patch dist/am-utils/amd/nfs_subr.c patch dist/am-utils/amd/ops_TEMPLATE.c patch dist/am-utils/amd/ops_cachefs.c patch dist/am-utils/amd/ops_cdfs.c patch dist/am-utils/amd/ops_efs.c patch dist/am-utils/amd/ops_lofs.c patch dist/am-utils/amd/ops_mfs.c patch dist/am-utils/amd/ops_nfs.c patch dist/am-utils/amd/ops_nfs3.c patch dist/am-utils/amd/ops_nullfs.c patch dist/am-utils/amd/ops_pcfs.c patch dist/am-utils/amd/ops_tfs.c patch dist/am-utils/amd/ops_tmpfs.c patch dist/am-utils/amd/ops_ufs.c patch dist/am-utils/amd/ops_umapfs.c patch dist/am-utils/amd/ops_unionfs.c patch dist/am-utils/amd/ops_xfs.c patch dist/am-utils/amd/opts.c patch dist/am-utils/amd/readdir.c patch dist/am-utils/amd/restart.c patch dist/am-utils/amd/rpc_fwd.c patch dist/am-utils/amd/sched.c patch dist/am-utils/amd/srvr_amfs_auto.c patch dist/am-utils/amd/srvr_nfs.c patch dist/am-utils/amd2netbsd patch dist/am-utils/amq/amq.8 patch dist/am-utils/amq/amq.c patch dist/am-utils/amq/amq.h patch dist/am-utils/amq/amq_clnt.c patch dist/am-utils/amq/amq_xdr.c patch dist/am-utils/amq/pawd.1 patch dist/am-utils/amq/pawd.c patch dist/am-utils/buildall patch dist/am-utils/conf/autofs/autofs_default.c patch dist/am-utils/conf/autofs/autofs_default.h patch dist/am-utils/conf/autofs/autofs_linux.c patch dist/am-utils/conf/autofs/autofs_linux.h patch dist/am-utils/conf/autofs/autofs_solaris_v1.c patch dist/am-utils/conf/autofs/autofs_solaris_v1.h patch dist/am-utils/conf/autofs/autofs_solaris_v2_v3.c patch dist/am-utils/conf/autofs/autofs_solaris_v2_v3.h patch dist/am-utils/conf/checkmount/checkmount_aix.c patch dist/am-utils/conf/checkmount/checkmount_bsd44.c patch dist/am-utils/conf/checkmount/checkmount_default.c patch dist/am-utils/conf/checkmount/checkmount_osf.c patch dist/am-utils/conf/checkmount/checkmount_svr4.c patch dist/am-utils/conf/checkmount/checkmount_ultrix.c patch dist/am-utils/conf/hn_dref/hn_dref_isc3.h patch dist/am-utils/conf/hn_dref/hn_dref_linux.h patch dist/am-utils/conf/mount/mount_aix.c patch dist/am-utils/conf/mount/mount_aix3.c new file dist/am-utils/conf/mount/mount_bsdi3.c patch dist/am-utils/conf/mount/mount_default.c patch dist/am-utils/conf/mount/mount_hpux.c patch dist/am-utils/conf/mount/mount_irix5.c patch dist/am-utils/conf/mount/mount_irix6.c patch dist/am-utils/conf/mount/mount_isc3.c patch dist/am-utils/conf/mount/mount_linux.c patch dist/am-utils/conf/mount/mount_mach3.c patch dist/am-utils/conf/mount/mount_stellix.c patch dist/am-utils/conf/mount/mount_svr4.c patch dist/am-utils/conf/mtab/mtab_aix.c patch dist/am-utils/conf/mtab/mtab_bsd.c patch dist/am-utils/conf/mtab/mtab_file.c patch dist/am-utils/conf/mtab/mtab_isc3.c patch dist/am-utils/conf/mtab/mtab_linux.c new file dist/am-utils/conf/mtab/mtab_mach3.c patch dist/am-utils/conf/mtab/mtab_osf.c patch dist/am-utils/conf/mtab/mtab_svr4.c patch dist/am-utils/conf/mtab/mtab_ultrix.c patch dist/am-utils/conf/nfs_prot/nfs_prot_aix3.h patch dist/am-utils/conf/nfs_prot/nfs_prot_aix4.h patch dist/am-utils/conf/nfs_prot/nfs_prot_aix4_2.h patch dist/am-utils/conf/nfs_prot/nfs_prot_aix4_3.h patch dist/am-utils/conf/nfs_prot/nfs_prot_aix5_1.h patch dist/am-utils/conf/nfs_prot/nfs_prot_aix5_2.h patch dist/am-utils/conf/nfs_prot/nfs_prot_bsdi2.h patch dist/am-utils/conf/nfs_prot/nfs_prot_bsdi3.h patch dist/am-utils/conf/nfs_prot/nfs_prot_darwin.h patch dist/am-utils/conf/nfs_prot/nfs_prot_default.h patch dist/am-utils/conf/nfs_prot/nfs_prot_freebsd2.h patch dist/am-utils/conf/nfs_prot/nfs_prot_freebsd3.h patch dist/am-utils/conf/nfs_prot/nfs_prot_hpux.h patch dist/am-utils/conf/nfs_prot/nfs_prot_hpux11.h patch dist/am-utils/conf/nfs_prot/nfs_prot_irix5.h patch dist/am-utils/conf/nfs_prot/nfs_prot_irix6.h patch dist/am-utils/conf/nfs_prot/nfs_prot_linux.h patch dist/am-utils/conf/nfs_prot/nfs_prot_ncr2.h patch dist/am-utils/conf/nfs_prot/nfs_prot_netbsd.h patch dist/am-utils/conf/nfs_prot/nfs_prot_netbsd1_3.h patch dist/am-utils/conf/nfs_prot/nfs_prot_netbsd1_4.h patch dist/am-utils/conf/nfs_prot/nfs_prot_nextstep.h patch dist/am-utils/conf/nfs_prot/nfs_prot_openbsd.h patch dist/am-utils/conf/nfs_prot/nfs_prot_osf2.h patch dist/am-utils/conf/nfs_prot/nfs_prot_osf4.h patch dist/am-utils/conf/nfs_prot/nfs_prot_osf5.h patch dist/am-utils/conf/nfs_prot/nfs_prot_sunos3.h patch dist/am-utils/conf/nfs_prot/nfs_prot_sunos4.h patch dist/am-utils/conf/nfs_prot/nfs_prot_sunos5_3.h patch dist/am-utils/conf/nfs_prot/nfs_prot_sunos5_4.h patch dist/am-utils/conf/nfs_prot/nfs_prot_sunos5_5.h patch dist/am-utils/conf/nfs_prot/nfs_prot_sunos5_6.h patch dist/am-utils/conf/nfs_prot/nfs_prot_sunos5_7.h patch dist/am-utils/conf/nfs_prot/nfs_prot_sunos5_8.h patch dist/am-utils/conf/nfs_prot/nfs_prot_svr4.h patch dist/am-utils/conf/nfs_prot/nfs_prot_ultrix.h patch dist/am-utils/conf/transp/transp_sockets.c patch dist/am-utils/conf/transp/transp_tli.c patch dist/am-utils/conf/umount/umount_aix.c new file dist/am-utils/conf/umount/umount_bsd44.c patch dist/am-utils/conf/umount/umount_default.c patch dist/am-utils/conf/umount/umount_linux.c patch dist/am-utils/conf/umount/umount_osf.c patch dist/am-utils/config.guess patch dist/am-utils/config.guess.long patch dist/am-utils/config.h.in patch dist/am-utils/config.sub patch dist/am-utils/configure patch dist/am-utils/configure.in patch dist/am-utils/doc/Makefile.am patch dist/am-utils/doc/am-utils.texi patch dist/am-utils/doc/texinfo.tex patch dist/am-utils/fixmount/fixmount.8 patch dist/am-utils/fixmount/fixmount.c patch dist/am-utils/fsinfo/fsi_analyze.c patch dist/am-utils/fsinfo/fsi_data.h patch dist/am-utils/fsinfo/fsi_dict.c patch dist/am-utils/fsinfo/fsi_gram.y patch dist/am-utils/fsinfo/fsi_lex.l patch dist/am-utils/fsinfo/fsi_util.c patch dist/am-utils/fsinfo/fsinfo.8 patch dist/am-utils/fsinfo/fsinfo.c patch dist/am-utils/fsinfo/fsinfo.h patch dist/am-utils/fsinfo/wr_atab.c patch dist/am-utils/fsinfo/wr_bparam.c patch dist/am-utils/fsinfo/wr_dumpset.c patch dist/am-utils/fsinfo/wr_exportfs.c patch dist/am-utils/fsinfo/wr_fstab.c patch dist/am-utils/hlfsd/hlfsd.8 patch dist/am-utils/hlfsd/hlfsd.c patch dist/am-utils/hlfsd/hlfsd.h patch dist/am-utils/hlfsd/homedir.c patch dist/am-utils/hlfsd/nfs_prot_svc.c patch dist/am-utils/hlfsd/stubs.c patch dist/am-utils/include/am_compat.h patch dist/am-utils/include/am_defs.h patch dist/am-utils/include/am_utils.h patch dist/am-utils/include/am_xdr_func.h patch dist/am-utils/include/amq_defs.h patch dist/am-utils/include/mount_headers1.h patch dist/am-utils/include/mount_headers2.h patch dist/am-utils/ldap-id.ms patch dist/am-utils/libamu/Makefile.am patch dist/am-utils/libamu/amu.h patch dist/am-utils/libamu/clnt_sperrno.c patch dist/am-utils/libamu/hasmntopt.c patch dist/am-utils/libamu/memcmp.c patch dist/am-utils/libamu/misc_rpc.c patch dist/am-utils/libamu/mount_fs.c patch dist/am-utils/libamu/mtab.c patch dist/am-utils/libamu/nfs_prot_xdr.c patch dist/am-utils/libamu/strcasecmp.c patch dist/am-utils/libamu/strdup.c patch dist/am-utils/libamu/strerror.c patch dist/am-utils/libamu/strlcat.c new file dist/am-utils/libamu/strlcpy.c patch dist/am-utils/libamu/strstr.c patch dist/am-utils/libamu/strutil.c new file dist/am-utils/libamu/ualarm.c patch dist/am-utils/libamu/util.c delete dist/am-utils/libamu/wire.c patch dist/am-utils/libamu/xdr_func.c patch dist/am-utils/libamu/xutil.c patch dist/am-utils/ltmain.sh patch dist/am-utils/m4/macros/check_checkmount_style.m4 patch dist/am-utils/m4/macros/check_extern.m4 patch dist/am-utils/m4/macros/check_mnttab_style.m4 patch dist/am-utils/m4/macros/check_mnttab_type.m4 patch dist/am-utils/m4/macros/check_mount_style.m4 patch dist/am-utils/m4/macros/check_nfs_fh_dref.m4 patch dist/am-utils/m4/macros/check_nfs_prot_headers.m4 patch dist/am-utils/m4/macros/check_nfs_sa_dref.m4 patch dist/am-utils/m4/macros/check_umount_style.m4 patch dist/am-utils/m4/macros/check_varargs_macros.m4 new file dist/am-utils/m4/macros/expand_run_string.m4 patch dist/am-utils/m4/macros/header_templates.m4 patch dist/am-utils/m4/macros/host_macros.m4 patch dist/am-utils/m4/macros/libtool.m4 new file dist/am-utils/m4/macros/os_cflags.m4 patch dist/am-utils/m4/macros/type_auth_create_gidlist.m4 patch dist/am-utils/m4/macros/type_pte_t.m4 new file dist/am-utils/m4/macros/type_recvfrom_fromlen.m4 patch dist/am-utils/m4/macros/type_rpcvers_t.m4 new file dist/am-utils/m4/macros/type_yp_order_outorder.m4 patch dist/am-utils/mk-amd-map/Makefile.am patch dist/am-utils/mk-amd-map/mk-amd-map.8 patch dist/am-utils/mk-amd-map/mk-amd-map.c patch dist/am-utils/scripts/Makefile.am patch dist/am-utils/scripts/amd.conf-sample patch dist/am-utils/scripts/amd.conf.5 patch dist/am-utils/scripts/automount2amd.8 patch dist/am-utils/scripts/test-attrcache.in new file dist/am-utils/vers.m4 new file dist/am-utils/wire-test/wire-test.8 patch dist/am-utils/wire-test/wire-test.c patch distrib/sets/lists/base/shl.elf patch distrib/sets/lists/base/shl.mi patch doc/3RDPARTY patch usr.sbin/amd/Makefile.inc patch usr.sbin/amd/amd/Makefile patch usr.sbin/amd/amq/Makefile patch usr.sbin/amd/doc/Makefile patch usr.sbin/amd/include/amu_autofs_prot.h patch usr.sbin/amd/include/amu_nfs_prot.h patch usr.sbin/amd/include/config.h patch usr.sbin/amd/libamu/Makefile patch usr.sbin/amd/libamu/mkconf patch usr.sbin/amd/libamu/shlib_version patch usr.sbin/amd/pawd/Makefile patch Update am-utils to version 6.1.3. This should fix PR bin/35581. [tron, ticket #1665] @ text @d1 1 a1 1 .\" $NetBSD: amd.conf.5,v 1.12 2005/09/20 17:57:45 rpaulo Exp $ d43 1 a43 1 .\" Id: amd.conf.5,v 1.39.2.2 2005/09/18 21:58:05 ezk Exp d47 1 a47 1 amd.conf \- Amd configuration file d53 1 a53 1 file is the configuration file for Amd, as part of the am-utils suite. d57 1 a57 1 .B Amd d90 1 a90 1 Parameters in this section either apply to Amd as a whole, or to all other d104 1 a104 1 Amd-managed mount point. d116 1 a116 1 If "yes," then Amd's top-level mount points will be browsable to d126 1 a126 1 the entries, such as often done by "ls -l" or "ls -F," Amd will attempt to d129 1 a129 1 entry in that map. This is often called a ``mount storm.'' d140 1 a140 1 Amd, such as "cache:=all". d144 2 a145 2 If specified, Amd will initialize the map only for the type given. This is useful to avoid the default map search type used by Amd which takes longer d163 1 a163 1 All Amd mount types default to NFS. That is, Amd is an NFS server on the d165 1 a165 1 specified, Amd will be an autofs server for those mount points. a180 16 .TP .BR selectors_in_defaults " (boolean, default=no)" If "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. For example, you may want to better the NFS performance over slow slip-based networks as follows: .nf /defaults \\ wire==slip-net;opts:=intr,rsize=1024,wsize=1024 \\ wire!=slip-net;opts:=intr,rsize=8192,wsize=8192 .fi Deprecated form: selectors_on_default d188 1 a188 1 option to Amd. Allows you to override the value of the d190 1 a190 1 Amd variable. d194 7 a200 8 Specify in seconds (or units of 0.1 seconds, depending on the OS), what is the (kernel-side) NFS attribute cache timeout for @@i{Amd}'s own automount points. A value of 0 is supposed to turn off attribute caching, meaning that @@i{Amd} 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, Amd may not work reliably under heavy load. See the README.attrcache document in the Am-utils distribution for more details. d206 1 a206 1 option to Amd. This sets the private directory where Amd will create d213 1 a213 1 option to Amd. Sets the duration in seconds that looked-up or mounted map d220 1 a220 1 option to Amd. Specifies the alternate HP-UX cluster to use. d233 1 a233 1 option to Amd. Specify any debugging options for Amd. Works only if d238 1 a238 1 meaning. You can get the list of supported debugging options by running Amd d262 1 a262 1 option to Amd. Specify in seconds, the time between attempts to dismount a285 15 .BR forced_unmounts " (boolean, default=no)" If set to "yes," and the client OS supports forced or lazy unmounts, then .I Amd 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: EIO, ESTALE, or EBUSY. 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 "type:=toplvl" mounts hung with EBUSY are forcibly unmounted using this option, which is useful to recover from a hung .IR Amd ). .TP d317 1 a317 1 specified, Amd will use uname(3) to figure out the kernel architecture of d327 1 a327 1 Specify the maximum memory Amd should use to cache LDAP entries. d345 1 a345 1 option to Amd. Specify the local domain name. If this option is not given d351 1 a351 1 Specify the name or IP address for Amd to use when connecting the sockets d354 1 a354 1 hosts with multiple addresses where you want to force Amd to connect to a d361 1 a361 1 option to Amd. Specify a file name to log Amd events to. d364 1 a364 1 is specified, Amd will send its events to the standard error file descriptor. d367 1 a367 1 is given, Amd will record its events with the system logger d375 1 a375 1 then Amd will log messages via d383 1 a383 1 option to Amd. Specify any logging options for Amd. Options are comma d387 1 a387 4 options by running .B amd .BR \-H . Possible values are: d404 1 a404 1 The number of seconds that Amd will wait before it checks to see if any maps d410 1 a410 1 Normally Amd will refuse requests coming from unprivileged ports (i.e. d414 2 a415 2 ports in certain situations, which causes Amd to stop dead in its tracks. This parameter allows Amd to operate normally even on such systems, d418 1 a418 1 in your Amd log, try enabling this parameter and give it another go. d422 3 a424 3 By default, Amd tries TCP and then UDP. This option forces the overall NFS protocol used to TCP or UDP. It overrides what is in the Amd maps, and is useful when Amd is compiled with NFSv3 support that may not be stable. With d426 1 a426 1 (without having to recompile Amd) until such time as NFSv3 support is d435 1 a435 1 option to Amd. d437 1 a437 1 communicate with Amd. d457 1 a457 1 option to Amd. Specifies the NFS timeout interval, in d461 1 a461 1 communicate with Amd. d485 1 a485 1 By default, Amd tries version 3 and then version 2. This option forces the d487 1 a487 1 Amd maps, and is useful when Amd is compiled with NFSv3 support that may not d489 1 a489 1 dynamically (without having to recompile Amd) until such time as NFSv3 d496 1 a496 1 option to Amd. Specify an alternative NIS domain from which to fetch the d504 1 a504 1 option to Amd. If "yes," then the name refereed to by ${rhost} is d511 2 a512 2 If "yes," then Amd will condense all multiple ``/'' (slash) characters into one and remove all trailing slashes. If "no," then Amd will not touch d521 1 a521 1 option to Amd. Allows you to override the compiled-in name of the operating d531 1 a531 1 option to Amd. Overrides the compiled-in version number of the operating d540 2 a541 2 specified, Amd will print its process id onto the standard output. Useful for killing Amd after it had run. Note that the PID of a running Amd can d551 3 a553 3 option to Amd. If "yes," lock the running executable pages of Amd into memory. To improve Amd's performance, systems that support the d557 4 a560 4 call can lock the Amd process into memory. This way there is less chance it the operating system will schedule, page out, and swap the Amd process as needed. This improves Amd's performance, at the cost of reserving the memory used by the Amd process (making it unavailable for other processes). d565 2 a566 2 number. This is useful when running multiple Amd processes. For example, you can run another Amd in "test" mode, without affecting the primary Amd d569 1 a569 1 Amq d572 2 a573 2 which can be used to specify an alternate program number of an Amd to contact. In this way, amq can fully control any number of Amd processes d579 1 a579 1 Amq d582 1 a582 1 Amd d584 1 a584 1 Amq d587 1 a587 1 Amd d594 1 a594 1 option to Amd. If "yes," Amd will print its process ID upon starting. d600 2 a601 2 option to Amd, but the version prints and Amd continues to run. If "yes," Amd will print its version information string, which includes some d608 2 a609 2 option to Amd. If "yes" Amd d612 1 a612 1 Amd d616 16 a637 5 .BR truncate_log " (boolean), default=no)" If "yes," then the log file (if it is a regular file), will be truncated upon startup. .TP d639 3 a641 3 If "yes," then Amd will attempt to unmount all file systems which it knows about. Normally Amd leaves all (esp. NFS) mounted file systems intact. Note that Amd does not know about file systems mounted before it starts up, d648 1 a648 1 If "yes," then Amd will use the tcpd/librwap tcpwrappers library d650 1 a650 1 access to Amd via the /etc/hosts.allow and /etc/hosts.deny files. d669 2 a670 2 specified, that map section will always be processed by Amd. If it is specified, then Amd will process the map if the d672 1 a672 1 option was given to Amd, and the value given to that command-line option d677 1 a677 1 Here is a real Amd configuration file I use daily. @ 1.9 log @Resolve conflicts. @ text @d1 1 a1 1 .\" $NetBSD: amd.conf.5,v 1.1.1.7 2004/11/27 01:01:09 christos Exp $ d371 1 a371 1 .BR nfs_allow_insecure_port " (string, default=no). @ 1.8 log @Uppercase SPARC. PR 19820 from Igor Sobrado. @ text @d1 1 a1 1 .\" $NetBSD: amd.conf.5,v 1.7 2003/03/09 01:38:51 christos Exp $ d4 1 a4 1 .\" Copyright (c) 1997-2003 Erez Zadok d43 1 a43 1 .\" Id: amd.conf.5,v 1.17 2002/12/27 22:44:12 ezk Exp d132 6 d167 8 d312 8 d371 12 d395 1 a395 1 part of the d405 1 a405 1 part of the d562 6 d617 2 a618 2 [ /proj ] d620 2 a621 2 [ /src ] d623 2 a624 2 [ /misc ] d626 2 a627 2 [ /import ] d629 2 a630 2 [ /tftpboot/.amd ] d637 14 a650 2 .BR amq (8) .\" .BR ctl-amd (8) d652 2 a653 2 Erez Zadok , Department of Computer Science, Columbia University, New York, USA. @ 1.7 log @resolve conflicts. @ text @d1 1 a1 1 .\" $NetBSD: amd.conf.5,v 1.1.1.6 2003/03/09 01:14:08 christos Exp $ d260 1 a260 1 system. Useful for example on Sun (Sparc) machines, where you can build one @ 1.6 log @resolve conflicts. @ text @d1 1 a1 1 .\" $NetBSD: amd.conf.5,v 1.1.1.5 2002/11/29 22:59:11 christos Exp $ d4 1 a4 1 .\" Copyright (c) 1997-2002 Erez Zadok d43 1 a43 1 .\" Id: amd.conf.5,v 1.15 2002/06/22 20:52:45 ezk Exp d284 4 @ 1.5 log @Sort SEE ALSO sections, and fix xrefs (commenting out some which point to non-existing man pages). Fixes misc/14970. @ text @d1 1 a1 1 .\" $NetBSD: amd.conf.5,v 1.4 2001/05/13 18:07:01 veego Exp $ d4 1 a4 1 .\" Copyright (c) 1997-2001 Erez Zadok d43 1 a43 1 .\" Id: amd.conf.5,v 1.7.2.3 2001/04/07 00:47:45 ib42 Exp d171 3 a173 1 Allows you to override the value of the d339 13 a351 7 .BR nfs_proto " (numeric, default to trying version 3 then 2)" By default, amd tries version 3 and then version 2. This option forces the overall NFS protocol used to version 3 or 2. It overrides what is in the amd maps, and is useful when amd is compiled with NFSv3 support that may not be stable. With this option you can turn off the complete usage of NFSv3 dynamically (without having to recompile amd) until such time as NFSv3 support is desired again. d384 7 a390 7 .BR nfs_vers " (string, default to trying version tcp then udp)" By default, amd tries TCP and then UDP. This option forces the overall NFS protocol used to TCP or UDP. It overrides what is in the amd maps, and is useful when amd is compiled with NFSv3 support that may not be stable. With this option you can turn off the complete usage of NFSv3 dynamically (without having to recompile amd) until such time as NFSv3 support is desired again. d446 2 @ 1.4 log @Resolve conflicts from the import of am-utils 6.0.6. @ text @d1 1 a1 1 .\" $NetBSD: amd.conf.5,v 1.1.1.4 2001/05/13 17:50:33 veego Exp $ d119 1 a119 1 .BR ls (3) d583 2 a584 2 .BR amq (8), .BR ctl-amd (8). @ 1.3 log @reference uname(3) instead of (2) @ text @d1 1 a1 1 .\" $NetBSD: amd.conf.5,v 1.2 2001/04/08 13:48:33 tron Exp $ d4 1 a4 1 .\" Copyright (c) 1997-2000 Erez Zadok d43 1 a43 1 .\" Id: amd.conf.5,v 1.7 2000/02/16 13:53:03 ezk Exp d268 2 a269 1 Specify the base name for LDAP. d281 1 a281 1 Specify LDAP-specific values such as country and organization. d483 2 a484 2 .BR selectors_on_default " (boolean, default=no)" If "yes", then the /default entry of maps will be look for and process any d496 2 d551 1 a551 1 selectors_on_default = yes @ 1.2 log @Fix incorrect manual page section in ".TH" macro call. @ text @d1 1 a1 1 .\" $NetBSD: amd.conf.5,v 1.1.1.2 2000/11/19 23:44:29 wiz Exp $ d263 1 a263 1 specified, amd will use uname(2) to figure out the kernel architecture of @ 1.1 log @Initial revision @ text @d1 1 d3 2 a4 1 .\" Copyright (c) 1997-1999 Erez Zadok d43 1 a43 1 .\" Id: amd.conf.5,v 1.4 1999/09/30 21:01:43 ezk Exp d45 1 a45 1 .TH AMD.CONF 8 "7 August 1997" d213 1 d217 1 d220 2 a221 1 \fBtrace\fR trace RPC protocol and NFS mount arguments d336 9 d373 9 @ 1.1.1.1 log @Import of am-utils-6.0.3 virgin source, with the following changes: "$Id: blah$" => "Id: blah" (as well as for $Header:$) for all files "$NetBSD: $" added to the top of all .c and .h files @ text @@ 1.1.1.1.4.1 log @file amd.conf.5 was added on branch minoura-xpg4dl on 2000-06-07 00:52:25 +0000 @ text @d1 565 @ 1.1.1.1.4.2 log @Import of am-utils-6.0.3 virgin source, with the following changes: "$Id: blah$" => "Id: blah" (as well as for $Header:$) for all files "$NetBSD: $" added to the top of all .c and .h files @ text @a0 565 .\" .\" Copyright (c) 1997-1999 Erez Zadok .\" 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. .\" 3. All advertising materials mentioning features or use of this software .\" must display the following acknowledgment: .\" This product includes software developed by the University of .\" California, Berkeley and its contributors. .\" 4. Neither the name of the University nor the names of its contributors .\" 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. .\" .\" %W% (Berkeley) %G% .\" .\" Id: amd.conf.5,v 1.4 1999/09/30 21:01:43 ezk Exp .\" .TH AMD.CONF 8 "7 August 1997" .SH NAME amd.conf \- amd configuration file .SH SYNOPSIS .B amd.conf .SH DESCRIPTION The .B amd.conf file is the configuration file for amd, as part of the am-utils suite. .P .B amd.conf contains runtime configuration information for the .B amd automounter program. .\" ************************************************************************** .SH FILE FORMAT .P The file consists of sections and parameters. A section begins with the name of the section in square brackets and continues until the next section begins or the end the file is reached. Sections contain parameters of the form 'name = value'. .P The file is line-based - that is, each newline-terminated line represents either a comment, a section name or a parameter. No line-continuation syntax is available. .P Section, parameter names and their values are case sensitive. .P 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 whitespace within a parameter value is not allowed, unless the whole parameter value is quoted with double quotes as in 'name = "some value"'. .P Any line beginning with a pound sign (#) is ignored, as are lines containing only whitespace. .P 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 be given as yes/no. Case is significant in all values. Some items such as cache timeouts are numeric. .\" ************************************************************************** .SH SECTIONS .SS The [global] section Parameters in this section either apply to 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. .P It is highly recommended that this section be specified first in the configuration file. If it is not, then regular map sections which precede it will not use global values defined later. .SS Regular [/map] sections Parameters in regular (non-global) sections apply to a single map entry. For example, if the map section .B [/homes] is defined, then all parameters following it will be applied to the .I /homes amd-managed mount point. .\" ************************************************************************** .SH PARAMETERS .SS Parameters common to all sections These parameters can be specified either in the global or a map specific 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 specified only in the global section, it is applicable to all regular map sections that follow. .\" ************************************************************************** .TP .BR browsable_dirs " (string, default=no)" If "yes", then amd's top-level mount points will be browsable to .BR readdir (3) calls. This means you could run for example .BR ls (3) and see what keys are available to mount in that directory. Not all entries are made visible to readdir(3): the "/default" entry, wildcard entries, and those with a "/" in them are not included. If you specify "full" to this option, all but "/default" will be visible. Note that if you run a command which will attempt to .BR stat (2) the entries, such as often done by "ls -l" or "ls -F", amd will attempt to mount .I every entry in that map. This is often called a ``mount storm''. .TP .BR map_options " (string, default no options)" This option is the same as specifying map options on the command line to amd, such as "cache:=all". .TP .BR map_type " (string, default search all map types)" If specified, amd will initialize the map only for the type given. This is useful to avoid the default map search type used by amd which takes longer and can have undesired side-effects such as initializing NIS even if not used. Possible values are .nf \fBfile\fR plain files \fBhesiod\fR Hesiod name service from MIT \fBldap\fR Lightweight Directory Access Protocol \fBndbm\fR (New) dbm style hash files \fBnis\fR Network Information Services (version 2) \fBnisplus\fR Network Information Services Plus (version 3) \fBpasswd\fR local password files \fBunion\fR union maps .fi .TP .BR mount_type " (string, default=nfs)" All amd mount types default to NFS. That is, amd is an NFS server on the map mount points, for the local host it is running on. If "autofs" is specified, amd will be an autofs server for those mount points. .TP .BR search_path " (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 distributed maps in several locations as needed. .\" ************************************************************************** .SS Parameters applicable to the global section only .TP .BR arch " (string, default to compiled in value)" Allows you to override the value of the .I arch amd variable. .TP .BR auto_dir " (string, default=/a)" Same as the .B \-a option to amd. This sets the private directory where amd will create sub-directories for its real mount points. .TP .BR cache_duration " (numeric, default=300)" Same as the .B \-c option to amd. Sets the duration in seconds that looked up map entries remain in the cache. .TP .BR cluster " (string, default no cluster)" Same as the .B \-C option to amd. Specifies the alternate HP-UX cluster to use. .TP .BR debug_options " (string, default no debug options)" Same as the .B \-D option to amd. Specify any debugging options for amd. Works only if am-utils was configured for debugging using the --enable-debug option. The "mem" option, as well as all other options, can be turned on via --enable-debug=mem. Otherwise debugging options are ignored. Options are comma delimited, and can be preceded by the string "no" to negate their meaning. You can get the list of supported debugging options by running amd \-H. Possible values are: .nf \fBall\fR all options \fBamq\fR register for amq \fBdaemon\fR enter daemon mode \fBfork\fR fork server \fBfull\fR program trace \fBinfo\fR info service specific debugging (hesiod, nis, etc.) \fBmem\fR trace memory allocations \fBmtab\fR use local "./mtab" file \fBstr\fR debug string munging \fBtest\fR full debug but no daemon \fBtrace\fR trace RPC protocol and NFS mount arguments .fi .TP .BR dismount_interval " (numeric, default=120)" Same as the .B \-w option to amd. Specify in seconds, the time between attempts to dismount file systems that have exceeded their cached times. .TP .BR full_os " (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 ``linux'', but you can override it to ``linux-2.2.5.'' .TP .BR fully_qualified_hosts " (string, default=no)" If "yes", .I Amd will perform RPC authentication using fully-qualified host names. This is necessary for some systems, and especially when performing cross-domain mounting. For this function to work, the .I Amd variable ${hostd} is used, requiring that ${domain} not be null. .TP .BR hesiod_base " (string, default=automount)" Specify the base name for hesiod maps. .TP .BR karch " (string, default to karch of the system)" Same as the .B \-k option to amd. Allows you to override the kernel-architecture of your system. Useful for example on Sun (Sparc) machines, where you can build one amd binary, and run it on multiple machines, yet you want each one to get the correct .I karch variable set (for example, sun4c, sun4m, sun4u, etc.) Note that if not specified, amd will use uname(2) to figure out the kernel architecture of the machine. .TP .BR ldap_base " (string, default not set)" Specify the base name for LDAP. .TP .BR ldap_cache_maxmem " (numeric, default=131072)" Specify the maximum memory amd should use to cache LDAP entries. .TP .BR ldap_cache_seconds " (numeric, default=0)" Specify the number of seconds to keep entries in the cache. .TP .BR ldap_hostports " (string, default not set)" Specify LDAP-specific values such as country and organization. .TP .BR local_domain " (string, default no sub-domain)" Same as the .B \-d option to amd. Specify the local domain name. 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. .TP .BR log_file " (string, default=/dev/stderr)" Same as the .B \-l option to amd. Specify a file name to log amd events to. If the string .B /dev/stderr is specified, amd will send its events to the standard error file descriptor. If the string .B syslog is given, amd will record its events with the system logger .BR syslogd (8). The default syslog facility used is LOG_DAEMON. If you wish to change it, append its name to the log file name, delimited by a single colon. For example, if .I logfile is the string .B syslog:local7 then amd will log messages via .IR syslog (3) using the LOG_LOCAL7 facility (if it exists on the system). .TP .BR log_options " (string, default no logging options)" Same as the .B \-x option to amd. Specify any logging options for amd. Options are comma delimited, and can be preceded by the string "no" to negate their meaning. The "debug" logging option is only available if am-utils was configured with --enable-debug. You can get the list of supported debugging and logging options by running amd \-H. Possible values are: .nf \fBall\fR all messages \fBdebug\fR debug messages \fBerror\fR non-fatal system errors \fBfatal\fR fatal errors \fBinfo\fR information \fBmap\fR map errors \fBstats\fR additional statistical information \fBuser\fR non-fatal user errors \fBwarn\fR warnings \fBwarning\fR warnings .fi .TP .BR nfs_retransmit_counter " (numeric, default=11)" Same as the .I retransmit part of the .BI \-t " timeout.retransmit" option to amd. Specifies the number of NFS retransmissions that the kernel will use to communicate with amd. .TP .BR nfs_retry_interval " (numeric, default=8)" Same as the .I timeout part of the .BI \-t " timeout.retransmit" option to amd. Specifies the NFS timeout interval, in .I tenths of seconds, between NFS/RPC retries (for UDP only). This is the value that the kernel will use to communicate with amd. Amd relies on the kernel RPC retransmit mechanism to trigger mount retries. The values of the .B nfs_retransmit_counter and the .B nfs_retry_interval parameters change the overall retry interval. Too long an interval gives poor interactive response; too short an interval causes excessive retries. .TP .BR nis_domain " (string, default to local NIS domain name)" Same as the .B \-y option to amd. Specify an alternative NIS domain from which to fetch the NIS maps. The default is the system domain name. This option is ignored if NIS support is not available. .TP .BR normalize_hostnames " (boolean, default=no)" Same as the .B \-n option to amd. If "yes", then the name refereed to by ${rhost} is normalized relative to the host database before being used. The effect is to translate aliases into ``official'' names. .TP .BR os " (string, default to compiled in value)" Same as the .B \-O option to amd. Allows you to override the compiled-in name of the operating system. Useful when the built-in name is not desired for backward compatibility reasons. For example, if the build in name is ``sunos5'', you can override it to ``sos5'', and use older maps which were written with the latter in mind. .TP .BR osver " (string, default to compiled in value)" Same as the .B \-o option to amd. Overrides the compiled-in version number of the operating system. Useful when the built in version is not desired for backward compatibility reasons. For example, if the build in version is ``2.5.1'', you can override it to ``5.5.1'', and use older maps that were written with the latter in mind. .TP .BR pid_file " (string, default=/dev/stdout)" Specify a file to store the process ID of the running daemon into. If not specified, amd will print its process id onto the standard output. Useful for killing amd after it had run. Note that the PID of a running amd can also be retrieved via .B amq .BR \-p . This file is used only if the print_pid option is on. .TP .BR plock " (boolean, default=yes)" Same as the .B \-S option to amd. If "yes", lock the running executable pages of amd into memory. To improve amd's performance, systems that support the .BR plock (3) call can lock the amd process into memory. This way there is less chance it the operating system will schedule, page out, and swap the amd process as needed. This improves amd's performance, at the cost of reserving the memory used by the amd process (making it unavailable for other processes). .TP .BR portmap_program " (numeric, default=300019)" Specify an alternate Port-mapper RPC program number, other than the official number. This is useful when running multiple amd processes. For example, you can run another amd in "test" mode, without affecting the primary amd process in any way. For safety reasons, the alternate program numbers that can be specified must be in the range 300019-300029, inclusive. .B amq has an option .B -P which can be used to specify an alternate program number of an amd to contact. In this way, amq can fully control any number of amd processes running on the same host. .TP .BR print_pid " (boolean, default=no)" Same as the .B \-p option to amd. If "yes", amd will print its process ID upon starting. .TP .BR print_version " (boolean, default=no)" Same as the .B \-v option to amd, but the version prints and amd continues to run. If "yes", amd will print its version information string, which includes some configuration and compilation values. .TP .BR restart_mounts " (boolean, default=no)" Same as the .B \-r option to amd. If "yes" .B amd will scan the mount table to determine which file systems are currently mounted. Whenever one of these would have been auto-mounted, .B amd inherits it. .TP .BR selectors_on_default " (boolean, default=no)" If "yes", then the /default entry of maps will be look 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. For example, you may want to better the NFS performance over slow slip-based networks as follows: .nf /defaults \\ wire==slip-net;opts:=intr,rsize=1024,wsize=1024 \\ wire!=slip-net;opts:=intr,rsize=8192,wsize=8192 .fi .TP .BR show_statfs_entries " (boolean), default=no)" If "yes", then all maps which are browsable will also show the number of entries (keys) they have when "df" runs. (This is accomplished by returning non-zero values to the statfs(2) system call). .TP .BR unmount_on_exit " (boolean), default=no)" If "yes", then amd will attempt to unmount all file systems which it knows about. Normally amd leaves all (esp. NFS) mounted file systems intact. Note that amd does not know about file systems mounted before it starts up, unless the restart_mounts option or .B \-r flag are used. .TP .BR vendor " (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 ``unknown'', but you can set it to ``redhat.'' .\" ************************************************************************** .SS Parameters applicable to regular map sections .TP .BR map_name " (string, must be specified)" Name of the map where the keys are located. .TP .BR tag " (string, default no tag)" Each map entry in the configuration file can be tagged. If no tag is specified, that map section will always be processed by amd. If it is specified, then amd will process the map if the .B -T option was given to amd, and the value given to that command-line option matches that in the map section. .\" ************************************************************************** .SH EXAMPLES Here is a real amd configuration file I use daily. .P .nf # 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 selectors_on_default = yes # 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 [ /proj ] map_name = amd.proj [ /src ] map_name = amd.src [ /misc ] map_name = amd.misc [ /import ] map_name = amd.import [ /tftpboot/.amd ] tag = tftpboot map_name = amd.tftpboot .fi .\" ************************************************************************** .SH "SEE ALSO" .BR amd (8), .BR amq (8), .BR ctl-amd (8). .SH AUTHORS Erez Zadok , Department of Computer Science, Columbia University, New York, USA. .P Other authors and contributors to am-utils are listed in the .B AUTHORS file distributed with am-utils. @ 1.1.1.1.2.1 log @Pull up revision 1.3 (requested by wiz): Correct uname(3) reference. @ text @d258 1 a258 1 specified, amd will use uname(3) to figure out the kernel architecture of @ 1.1.1.2 log @Import of am-utils-6.0.4 source for reachover build. Changes: quoted RCS Ids in all files, added NetBSD's own in most, and removed some easily regenerated files in doc/. (amd2netbsd script will follow soon.) @ text @a0 1 .\" $NetBSD$ d2 1 a2 2 .\" .\" Copyright (c) 1997-2000 Erez Zadok d41 1 a41 1 .\" Id: amd.conf.5,v 1.7 2000/02/16 13:53:03 ezk Exp a210 1 \fBhrtime\fR print high resolution time stamps (only if syslog(3) is not used) a213 1 \fBreaddir\fR show browsable_dirs progress d216 1 a216 2 \fBtrace\fR trace protocol and NFS mount arguments \fBxdrtrace\fR trace XDR routines a330 9 .BR nfs_proto " (numeric, default to trying version 3 then 2)" By default, amd tries version 3 and then version 2. This option forces the overall NFS protocol used to version 3 or 2. It overrides what is in the amd maps, and is useful when amd is compiled with NFSv3 support that may not be stable. With this option you can turn off the complete usage of NFSv3 dynamically (without having to recompile amd) until such time as NFSv3 support is desired again. .TP a358 9 .TP .BR nfs_vers " (string, default to trying version tcp then udp)" By default, amd tries TCP and then UDP. This option forces the overall NFS protocol used to TCP or UDP. It overrides what is in the amd maps, and is useful when amd is compiled with NFSv3 support that may not be stable. With this option you can turn off the complete usage of NFSv3 dynamically (without having to recompile amd) until such time as NFSv3 support is desired again. @ 1.1.1.3 log @Import am-utils 6.0.6 @ text @d1 1 d3 2 a4 1 .\" Copyright (c) 1997-2001 Erez Zadok d43 1 a43 1 .\" $Id: amd.conf.5,v 1.7.2.3 2001/04/07 00:47:45 ib42 Exp $ d268 1 a268 2 Specify the base name for LDAP. This often includes LDAP-specific values such as country and organization. d280 1 a280 1 Specify the LDAP host and port values. d482 2 a483 2 .BR selectors_in_defaults " (boolean, default=no)" If "yes", then the /defaults entry of maps will search for and process any a494 2 Deprecated form: selectors_on_default d548 1 a548 1 selectors_in_defaults = yes @ 1.1.1.4 log @2nd import of am-utils 6.0.6. This time after running the amd2netbsd script. @ text @a0 2 .\" $NetBSD$ .\" d41 1 a41 1 .\" Id: amd.conf.5,v 1.7.2.3 2001/04/07 00:47:45 ib42 Exp @ 1.1.1.5 log @import latest am-utils. @ text @d4 1 a4 1 .\" Copyright (c) 1997-2002 Erez Zadok d43 1 a43 1 .\" Id: amd.conf.5,v 1.15 2002/06/22 20:52:45 ezk Exp d45 1 a45 1 .TH AMD.CONF 5 "7 August 1997" d171 1 a171 3 Same as the .B \-A option to amd. Allows you to override the value of the d337 7 a343 13 .BR map_reload_interval " (numeric, default=3600)" The number of seconds that amd will wait before it checks to see if any maps have changed at their source (NIS servers, LDAP servers, files, etc.). Amd will reload only those maps that have changed. .TP .BR nfs_proto " (string, default to trying version tcp then udp)" By default, amd tries TCP and then UDP. This option forces the overall NFS protocol used to TCP or UDP. It overrides what is in the amd maps, and is useful when amd is compiled with NFSv3 support that may not be stable. With this option you can turn off the complete usage of NFSv3 dynamically (without having to recompile amd) until such time as NFSv3 support is desired again. d376 7 a382 7 .BR nfs_vers " (numeric, default to trying version 3 then 2)" By default, amd tries version 3 and then version 2. This option forces the overall NFS protocol used to version 3 or 2. It overrides what is in the amd maps, and is useful when amd is compiled with NFSv3 support that may not be stable. With this option you can turn off the complete usage of NFSv3 dynamically (without having to recompile amd) until such time as NFSv3 support is desired again. a437 2 or .BR mlockall (2) @ 1.1.1.6 log @Import am-utils 6.1b2 @ text @d4 1 a4 1 .\" Copyright (c) 1997-2003 Erez Zadok d43 1 a43 1 .\" Id: amd.conf.5,v 1.17 2002/12/27 22:44:12 ezk Exp a283 4 .TP .BR ldap_proto_version " (numeric, default=2)" Specify the version of the LDAP protocol to use. @ 1.1.1.7 log @from 20040916 from ftp.am-utils.org @ text @d4 1 a4 1 .\" Copyright (c) 1997-2004 Erez Zadok d43 1 a43 1 .\" Id: amd.conf.5,v 1.27 2004/01/22 05:01:06 ezk Exp a131 6 .BR map_defaults " (string, default to empty)" This option sets a string to be used as the map's /defaults entry, overriding any /defaults specified in the map. This allows local users to override map defaults without modifying maps globally. .TP a160 8 .BR autofs_use_lofs " (string, default=yes)" When set to "yes" and using Autofs, Amd 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 "no", then Amd will use symlinks instead: that code is more tested, but negates autofs's big advantage of in-place mounts. .TP a297 8 .BR localhost_address " (string, default to localhost or 127.0.0.1)" Specify the name or IP address for amd 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 amd to connect to a specific address. .TP a348 12 .BR nfs_allow_insecure_port " (string, default=no). Normally amd 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 amd to stop dead in its tracks. This parameter allows amd 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 "ignoring request from foo:1234, port not reserved" in your amd log, try enabling this parameter and give it another go. .TP d361 1 a361 1 part of the d371 1 a371 1 part of the a527 6 .BR use_tcpwrappers " (boolean), default=yes)" If "yes", then amd will use the tcpd/librwap tcpwrappers library (if available) to control access to amd via the /etc/hosts.allow and /etc/hosts.deny files. .TP d577 2 a578 2 [ /proj ] d580 2 a581 2 [ /src ] d583 2 a584 2 [ /misc ] d586 2 a587 2 [ /import ] d589 2 a590 2 [ /tftpboot/.amd ] d598 1 a598 13 .BR ctl-amd (8), .BR hosts_access (5). .LP ``am-utils'' .BR info (1) entry. .LP .I "Linux NFS and Automounter Administration" by Erez Zadok, ISBN 0-7821-2739-8, (Sybex, 2001). .LP .I http://www.am-utils.org .LP .I "Amd \- The 4.4 BSD Automounter" d600 2 a601 2 Erez Zadok , Computer Science Department, Stony Brook University, Stony Brook, New York, USA. @ 1.1.1.8 log @from ftp.am-utils.org @ text @d4 1 a4 1 .\" Copyright (c) 1997-2005 Erez Zadok d43 1 a43 1 .\" Id: amd.conf.5,v 1.37 2005/04/17 03:05:54 ezk Exp d116 1 a116 1 If "yes," then amd's top-level mount points will be browsable to d119 1 a119 1 .BR ls (1) d126 1 a126 1 the entries, such as often done by "ls -l" or "ls -F," amd will attempt to a149 1 \fBexec\fR executable maps d171 1 a171 1 option is set to "no," then Amd will use symlinks instead: that code is more a191 10 .BR auto_attrcache " (numeric, default=0)" Specify in seconds, the (kernel-side) NFS attribute cache timeout for amd's own automount points. A value of 0 turns off attribute caching, meaning that amd 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: if you set this option to any non-zero value, especially a large value, and you get ESTALE errors on your particular OS , then set this value back to 0 seconds. .TP d202 2 a203 2 option to amd. Sets the duration in seconds that looked-up or mounted map entries remain in the cache. a211 7 .BR debug_mtab_file " (string, default=/tmp/mnttab)" Path to mtab file that is used by Amd to store a list of mounted file systems during debug-mtab mode. This option only applies to systems that store mtab information on disk. .TP .TP a247 20 .BR domain_strip " (boolean, default=yes)" If "yes," then the domain name part referred to by ${rhost} is stripped off. This is useful to keep logs and smaller. If "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). .TP .BR exec_map_timeout " (numeric, default=10)" The timeout in seconds that .I Amd will wait for an executable map program before an answer is returned from that program (or script). This value should be set to as small as possible while still allowing normal replies to be returned before the timer expires, because during the time that the executable map program is queried, .I Amd is essentially waiting and is thus not responding to any other queries. .TP d257 1 a257 1 If "yes," d279 1 a279 1 specified, amd will use uname(3) to figure out the kernel architecture of d371 1 a371 1 .BR nfs_allow_insecure_port " (string, default=no)" a401 12 .BR nfs_retransmit_counter_udp " (numeric, default=11)" Same as the .B nfs_retransmit_counter option, but for all UDP mounts only. .TP .BR nfs_retransmit_counter_tcp " (numeric, default=11)" Same as the .B nfs_retransmit_counter option, but for all TCP mounts only. .TP d409 1 a409 1 of seconds, between NFS/RPC retries (for UDP and TCP). a421 12 .BR nfs_retry_interval_udp " (numeric, default=8)" Same as the .B nfs_retry_interval option, but for all UDP mounts only. .TP .BR nfs_retry_interval_tcp " (numeric, default=8)" Same as the .B nfs_retry_interval option, but for all TCP mounts only. .TP d442 1 a442 1 option to amd. If "yes," then the name refereed to by ${rhost} is a446 9 .BR normalize_slashes " (boolean, default=yes)" If "yes," then amd will condense all multiple ``/'' (slash) characters into one and remove all trailing slashes. If "no," then amd 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. .TP d481 1 a481 1 If "yes," lock the running executable pages of amd into memory. To improve a505 14 .BR preferred_amq_port " (numeric, default=0)" Specify an alternate Port-mapper RPC port number for Amd's .B amq service. This is used for both UDP and TCP. Setting this value to 0 (or not defining it) will cause .B amd to select an arbitrary port number. Setting the .B amq RPC service port to a specific number is useful in firewalled or NAT'ed environments, where you need to know which port .B amd will listen on. .TP d509 1 a509 1 option to amd. If "yes," amd will print its process ID upon starting. d515 1 a515 1 option to amd, but the version prints and amd continues to run. If "yes," d532 1 a532 1 If "yes," then the /defaults entry of maps will search for and process any d548 1 a548 1 If "yes," then all maps which are browsable will also show the number of d554 1 a554 1 If "yes," then amd will attempt to unmount all file systems which it knows d563 1 a563 1 If "yes," then amd will use the tcpd/librwap tcpwrappers library d608 1 a608 1 # if you print_version after setting up "os," it will show it. @ 1.1.1.9 log @Import of am-utils 6.1.2.1. @ text @d43 1 a43 1 .\" Id: amd.conf.5,v 1.39.2.2 2005/09/18 21:58:05 ezk Exp d47 1 a47 1 amd.conf \- Amd configuration file d53 1 a53 1 file is the configuration file for Amd, as part of the am-utils suite. d57 1 a57 1 .B Amd d90 1 a90 1 Parameters in this section either apply to Amd as a whole, or to all other d104 1 a104 1 Amd-managed mount point. d116 1 a116 1 If "yes," then Amd's top-level mount points will be browsable to d126 1 a126 1 the entries, such as often done by "ls -l" or "ls -F," Amd will attempt to d129 1 a129 1 entry in that map. This is often called a ``mount storm.'' d140 1 a140 1 Amd, such as "cache:=all". d144 2 a145 2 If specified, Amd will initialize the map only for the type given. This is useful to avoid the default map search type used by Amd which takes longer d163 1 a163 1 All Amd mount types default to NFS. That is, Amd is an NFS server on the d165 1 a165 1 specified, Amd will be an autofs server for those mount points. a180 16 .TP .BR selectors_in_defaults " (boolean, default=no)" If "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. For example, you may want to better the NFS performance over slow slip-based networks as follows: .nf /defaults \\ wire==slip-net;opts:=intr,rsize=1024,wsize=1024 \\ wire!=slip-net;opts:=intr,rsize=8192,wsize=8192 .fi Deprecated form: selectors_on_default d188 1 a188 1 option to Amd. Allows you to override the value of the d190 1 a190 1 Amd variable. d194 7 a200 8 Specify in seconds (or units of 0.1 seconds, depending on the OS), what is the (kernel-side) NFS attribute cache timeout for @@i{Amd}'s own automount points. A value of 0 is supposed to turn off attribute caching, meaning that @@i{Amd} 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, Amd may not work reliably under heavy load. See the README.attrcache document in the Am-utils distribution for more details. d206 1 a206 1 option to Amd. This sets the private directory where Amd will create d213 1 a213 1 option to Amd. Sets the duration in seconds that looked-up or mounted map d220 1 a220 1 option to Amd. Specifies the alternate HP-UX cluster to use. d233 1 a233 1 option to Amd. Specify any debugging options for Amd. Works only if d238 1 a238 1 meaning. You can get the list of supported debugging options by running Amd d262 1 a262 1 option to Amd. Specify in seconds, the time between attempts to dismount a285 15 .BR forced_unmounts " (boolean, default=no)" If set to "yes," and the client OS supports forced or lazy unmounts, then .I Amd 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: EIO, ESTALE, or EBUSY. 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 "type:=toplvl" mounts hung with EBUSY are forcibly unmounted using this option, which is useful to recover from a hung .IR Amd ). .TP d311 1 a311 1 option to Amd. Allows you to override the kernel-architecture of your d313 1 a313 1 Amd binary, and run it on multiple machines, yet you want each one to get d317 1 a317 1 specified, Amd will use uname(3) to figure out the kernel architecture of d327 1 a327 1 Specify the maximum memory Amd should use to cache LDAP entries. d345 1 a345 1 option to Amd. Specify the local domain name. If this option is not given d351 1 a351 1 Specify the name or IP address for Amd to use when connecting the sockets d354 1 a354 1 hosts with multiple addresses where you want to force Amd to connect to a d361 1 a361 1 option to Amd. Specify a file name to log Amd events to. d364 1 a364 1 is specified, Amd will send its events to the standard error file descriptor. d367 1 a367 1 is given, Amd will record its events with the system logger d375 1 a375 1 then Amd will log messages via d383 1 a383 1 option to Amd. Specify any logging options for Amd. Options are comma d387 1 a387 4 options by running .B amd .BR \-H . Possible values are: d404 1 a404 1 The number of seconds that Amd will wait before it checks to see if any maps d410 1 a410 1 Normally Amd will refuse requests coming from unprivileged ports (i.e. d414 2 a415 2 ports in certain situations, which causes Amd to stop dead in its tracks. This parameter allows Amd to operate normally even on such systems, d418 1 a418 1 in your Amd log, try enabling this parameter and give it another go. d422 3 a424 3 By default, Amd tries TCP and then UDP. This option forces the overall NFS protocol used to TCP or UDP. It overrides what is in the Amd maps, and is useful when Amd is compiled with NFSv3 support that may not be stable. With d426 1 a426 1 (without having to recompile Amd) until such time as NFSv3 support is d435 1 a435 1 option to Amd. d437 1 a437 1 communicate with Amd. d457 1 a457 1 option to Amd. Specifies the NFS timeout interval, in d461 1 a461 1 communicate with Amd. d485 1 a485 1 By default, Amd tries version 3 and then version 2. This option forces the d487 1 a487 1 Amd maps, and is useful when Amd is compiled with NFSv3 support that may not d489 1 a489 1 dynamically (without having to recompile Amd) until such time as NFSv3 d496 1 a496 1 option to Amd. Specify an alternative NIS domain from which to fetch the d504 1 a504 1 option to Amd. If "yes," then the name refereed to by ${rhost} is d511 2 a512 2 If "yes," then Amd will condense all multiple ``/'' (slash) characters into one and remove all trailing slashes. If "no," then Amd will not touch d521 1 a521 1 option to Amd. Allows you to override the compiled-in name of the operating d531 1 a531 1 option to Amd. Overrides the compiled-in version number of the operating d540 2 a541 2 specified, Amd will print its process id onto the standard output. Useful for killing Amd after it had run. Note that the PID of a running Amd can d551 3 a553 3 option to Amd. If "yes," lock the running executable pages of Amd into memory. To improve Amd's performance, systems that support the d557 4 a560 4 call can lock the Amd process into memory. This way there is less chance it the operating system will schedule, page out, and swap the Amd process as needed. This improves Amd's performance, at the cost of reserving the memory used by the Amd process (making it unavailable for other processes). d565 2 a566 2 number. This is useful when running multiple Amd processes. For example, you can run another Amd in "test" mode, without affecting the primary Amd d569 1 a569 1 Amq d572 2 a573 2 which can be used to specify an alternate program number of an Amd to contact. In this way, amq can fully control any number of Amd processes d579 1 a579 1 Amq d582 1 a582 1 Amd d584 1 a584 1 Amq d587 1 a587 1 Amd d594 1 a594 1 option to Amd. If "yes," Amd will print its process ID upon starting. d600 2 a601 2 option to Amd, but the version prints and Amd continues to run. If "yes," Amd will print its version information string, which includes some d608 2 a609 2 option to Amd. If "yes" Amd d612 1 a612 1 Amd d616 16 a637 5 .BR truncate_log " (boolean), default=no)" If "yes," then the log file (if it is a regular file), will be truncated upon startup. .TP d639 3 a641 3 If "yes," then Amd will attempt to unmount all file systems which it knows about. Normally Amd leaves all (esp. NFS) mounted file systems intact. Note that Amd does not know about file systems mounted before it starts up, d648 1 a648 1 If "yes," then Amd will use the tcpd/librwap tcpwrappers library d650 1 a650 1 access to Amd via the /etc/hosts.allow and /etc/hosts.deny files. d669 2 a670 2 specified, that map section will always be processed by Amd. If it is specified, then Amd will process the map if the d672 1 a672 1 option was given to Amd, and the value given to that command-line option d677 1 a677 1 Here is a real Amd configuration file I use daily. @