amd.conf-sample revision 119679
10SN/A# -*- text -*-
216679Sascarpino# A SAMPLE CONFIGURATION FILE FOR AMD
30SN/A
40SN/A##############################################################################
50SN/A# GLOBAL OPTIONS SECTION (must be first in amd.conf file)
60SN/A[ global ]
72362SN/A# (amd -n)
80SN/Anormalize_hostnames =		yes | no
92362SN/A# (amd -p)
100SN/Aprint_pid =			yes | no
110SN/Apid_file =			/dev/stdout | /var/run/amd.pid
120SN/A# (amd -r)
130SN/Arestart_mounts =		yes | no
140SN/Aunmount_on_exit =		no | yes
150SN/A# (amd -a)
160SN/Aauto_dir =			/a
170SN/A# duration in seconds that a looked up name remain cached (amd -c)
180SN/Acache_duration =		300
190SN/A# (amd -d)
200SN/Alocal_domain =			cs.columbia.edu
212362SN/A# (amd -k)
222362SN/Akarch =				sun4m
232362SN/Aarch =				sun4
240SN/A# if you don't like autoconf picking up "sunos5" as the os-type, override it
250SN/A# (amd -O)
260SN/Aos =				sos5
270SN/A# (amd -o)
285475SN/Aosver =				2.5.1
290SN/A# full os name
305475SN/Afull_os =			linux-2.2.5
315475SN/A# OS vendor
325475SN/Avendor =			redhat
335475SN/A# if you print_version after setting up "os", it will show it. (amd -v)
345475SN/Aprint_version =			yes | no
350SN/A# (amd -l)
360SN/Alog_file =			/var/log/amd | syslog | syslog:facility
370SN/A# NFS (RPC/UDP) retry interval, in tenths of secs (amd -t interval.counter)
380SN/Anfs_retry_interval =		8
390SN/Anfs_retransmit_counter =	11 (eleven retransmission attempts)
400SN/A# (amd -w)
415475SN/Adismount_interval =		120
420SN/A# (amd -y)
430SN/Anis_domain =			nisDom-CS.columbia.edu
440SN/A# (amd -x)
450SN/Alog_options =			fatal,error,user,warn,info,map,stats,all
465475SN/A# (amd -D)
470SN/Adebug_options =			all,amq,daemon,fork,full,hrtime,info,mem,mtab,\
480SN/A				str,readdir,test,trace,xdrtrace
490SN/A# (amd -S)
500SN/Aplock =				no | yes
510SN/A# selectors are not recognized by default in the /defaults entry
520SN/Aselectors_in_defaults =		yes | no
530SN/A# should browsable maps show number of entries to df/statfs (default=no)
540SN/Ashow_statfs_entries =		yes | no
555475SN/A# (hpux) cluster name (amd -C)
565475SN/Acluster =			???
575475SN/A# LDAP (Lightweight Directory Access Protocol) options
585475SN/Aldap_base =			"ou=Marketing, o=AMD Ltd, c=US"
595475SN/Aldap_hostports =		ldap.your.domain:389
600SN/Aldap_cache_seconds =		0 (default)
610SN/Aldap_cache_maxmem =		131072 (default)
620SN/A# default base name for hesiod maps
630SN/Ahesiod_base =			automount
640SN/A# these 5 options can be overridden by each map individually
650SN/Abrowsable_dirs =		yes | no | full
660SN/Amap_options =			cache:=all
675475SN/Amap_type =			file|hesiod|ndbm|nis|nisplus|passwd|union|ldap
680SN/A# regular amd (nfs) mount point (default)
695475SN/A# don't try the "autofs" type.  It is not implemented yet.
705475SN/Amount_type =			nfs
715475SN/Asearch_path =			/etc/local:/etc/amdmaps:/misc/yp
720SN/A# alternate RPC program number to register with the port mapper
735475SN/Aportmap_program =		300019-300029
740SN/A# use fully qualified host names
755475SN/Afully_qualified_hosts =		yes | no
760SN/A# force NFS version or NFS protocol
770SN/Anfs_vers =			2 | 3
785475SN/Anfs_proto =			udp | tcp
795475SN/A
805475SN/A##############################################################################
815475SN/A# DEFINE AN AMD MOUNT POINT
825475SN/A[ /home ]
835475SN/A# map name must be defined, all else are optional
845475SN/Amap_name =			/etc/amd.home | amd.home
850SN/Amap_options =			cache:=all
860SN/A# if map type is not defined, will search all map types (default)
870SN/Amap_type =			file|hesiod|ndbm|nis|nisplus|passwd|union|ldap
880SN/Asearch_path =			/etc/local:/etc/amdmaps:/misc/yp
890SN/A# regular amd (nfs) mount point (default)
905475SN/A# don't try the "autofs" type.  It is not implemented yet.
915475SN/Amount_type =			nfs
920SN/Abrowsable_dirs =		yes | no
935475SN/A# an optional tag to be used with amd -T tag. untagged entries are always
945475SN/A# used.  Tagged ones get used only if specified with "amd -T"
955475SN/Atag =				test
965475SN/A
975475SN/A##############################################################################
985475SN/A# DEFINE ANOTHER AMD MOUNT POINT
995475SN/A[ /src ]
1005475SN/Amap_name = /usr/local/lib/amdmaps/amu.src
1015475SN/A# regular amd (nfs) mount point (default)
1025475SN/A# don't try the "autofs" type.  It is not implemented yet.
1039297SN/Amount_type = nfs
1045475SN/A
1055475SN/A##############################################################################
1065475SN/A