head 1.1; branch 1.1.1; access; symbols netbsd-11-0-RC4:1.1.1.1 netbsd-11-0-RC3:1.1.1.1 netbsd-11-0-RC2:1.1.1.1 netbsd-11-0-RC1:1.1.1.1 perseant-exfatfs-base-20250801:1.1.1.1 netbsd-11:1.1.1.1.0.78 netbsd-11-base:1.1.1.1 netbsd-10-1-RELEASE:1.1.1.1 perseant-exfatfs-base-20240630:1.1.1.1 perseant-exfatfs:1.1.1.1.0.76 perseant-exfatfs-base:1.1.1.1 netbsd-8-3-RELEASE:1.1.1.1 netbsd-9-4-RELEASE:1.1.1.1 netbsd-10-0-RELEASE:1.1.1.1 netbsd-10-0-RC6:1.1.1.1 netbsd-10-0-RC5:1.1.1.1 netbsd-10-0-RC4:1.1.1.1 netbsd-10-0-RC3:1.1.1.1 netbsd-10-0-RC2:1.1.1.1 netbsd-10-0-RC1:1.1.1.1 netbsd-10:1.1.1.1.0.74 netbsd-10-base:1.1.1.1 netbsd-9-3-RELEASE:1.1.1.1 cjep_sun2x-base1:1.1.1.1 cjep_sun2x:1.1.1.1.0.72 cjep_sun2x-base:1.1.1.1 cjep_staticlib_x-base1:1.1.1.1 netbsd-9-2-RELEASE:1.1.1.1 cjep_staticlib_x:1.1.1.1.0.70 cjep_staticlib_x-base:1.1.1.1 netbsd-9-1-RELEASE:1.1.1.1 phil-wifi-20200421:1.1.1.1 phil-wifi-20200411:1.1.1.1 is-mlppp:1.1.1.1.0.68 is-mlppp-base:1.1.1.1 phil-wifi-20200406:1.1.1.1 netbsd-8-2-RELEASE:1.1.1.1 netbsd-9-0-RELEASE:1.1.1.1 netbsd-9-0-RC2:1.1.1.1 netbsd-9-0-RC1:1.1.1.1 phil-wifi-20191119:1.1.1.1 netbsd-9:1.1.1.1.0.66 netbsd-9-base:1.1.1.1 phil-wifi-20190609:1.1.1.1 netbsd-8-1-RELEASE:1.1.1.1 netbsd-8-1-RC1:1.1.1.1 pgoyette-compat-merge-20190127:1.1.1.1 pgoyette-compat-20190127:1.1.1.1 pgoyette-compat-20190118:1.1.1.1 pgoyette-compat-1226:1.1.1.1 pgoyette-compat-1126:1.1.1.1 pgoyette-compat-1020:1.1.1.1 pgoyette-compat-0930:1.1.1.1 pgoyette-compat-0906:1.1.1.1 netbsd-7-2-RELEASE:1.1.1.1 pgoyette-compat-0728:1.1.1.1 netbsd-8-0-RELEASE:1.1.1.1 phil-wifi:1.1.1.1.0.64 phil-wifi-base:1.1.1.1 pgoyette-compat-0625:1.1.1.1 netbsd-8-0-RC2:1.1.1.1 pgoyette-compat-0521:1.1.1.1 pgoyette-compat-0502:1.1.1.1 pgoyette-compat-0422:1.1.1.1 netbsd-8-0-RC1:1.1.1.1 pgoyette-compat-0415:1.1.1.1 pgoyette-compat-0407:1.1.1.1 pgoyette-compat-0330:1.1.1.1 pgoyette-compat-0322:1.1.1.1 pgoyette-compat-0315:1.1.1.1 netbsd-7-1-2-RELEASE:1.1.1.1 pgoyette-compat:1.1.1.1.0.62 pgoyette-compat-base:1.1.1.1 netbsd-7-1-1-RELEASE:1.1.1.1 matt-nb8-mediatek:1.1.1.1.0.60 matt-nb8-mediatek-base:1.1.1.1 perseant-stdc-iso10646:1.1.1.1.0.58 perseant-stdc-iso10646-base:1.1.1.1 netbsd-8:1.1.1.1.0.56 netbsd-8-base:1.1.1.1 prg-localcount2-base3:1.1.1.1 prg-localcount2-base2:1.1.1.1 prg-localcount2-base1:1.1.1.1 prg-localcount2:1.1.1.1.0.54 prg-localcount2-base:1.1.1.1 pgoyette-localcount-20170426:1.1.1.1 bouyer-socketcan-base1:1.1.1.1 pgoyette-localcount-20170320:1.1.1.1 netbsd-7-1:1.1.1.1.0.52 netbsd-7-1-RELEASE:1.1.1.1 netbsd-7-1-RC2:1.1.1.1 netbsd-7-nhusb-base-20170116:1.1.1.1 bouyer-socketcan:1.1.1.1.0.50 bouyer-socketcan-base:1.1.1.1 pgoyette-localcount-20170107:1.1.1.1 netbsd-7-1-RC1:1.1.1.1 pgoyette-localcount-20161104:1.1.1.1 netbsd-7-0-2-RELEASE:1.1.1.1 localcount-20160914:1.1.1.1 netbsd-7-nhusb:1.1.1.1.0.48 netbsd-7-nhusb-base:1.1.1.1 pgoyette-localcount-20160806:1.1.1.1 pgoyette-localcount-20160726:1.1.1.1 pgoyette-localcount:1.1.1.1.0.46 pgoyette-localcount-base:1.1.1.1 netbsd-7-0-1-RELEASE:1.1.1.1 netbsd-7-0:1.1.1.1.0.44 netbsd-7-0-RELEASE:1.1.1.1 netbsd-7-0-RC3:1.1.1.1 netbsd-7-0-RC2:1.1.1.1 netbsd-7-0-RC1:1.1.1.1 am-utils-6-2-20140117:1.1.1.1 netbsd-5-2-3-RELEASE:1.1.1.1 netbsd-5-1-5-RELEASE:1.1.1.1 netbsd-6-0-6-RELEASE:1.1.1.1 netbsd-6-1-5-RELEASE:1.1.1.1 netbsd-7:1.1.1.1.0.42 netbsd-7-base:1.1.1.1 yamt-pagecache-base9:1.1.1.1 yamt-pagecache-tag8:1.1.1.1 netbsd-6-1-4-RELEASE:1.1.1.1 netbsd-6-0-5-RELEASE:1.1.1.1 tls-earlyentropy:1.1.1.1.0.40 tls-earlyentropy-base:1.1.1.1 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.1 riastradh-drm2-base3:1.1.1.1 netbsd-6-1-3-RELEASE:1.1.1.1 netbsd-6-0-4-RELEASE:1.1.1.1 netbsd-5-2-2-RELEASE:1.1.1.1 netbsd-5-1-4-RELEASE:1.1.1.1 netbsd-6-1-2-RELEASE:1.1.1.1 netbsd-6-0-3-RELEASE:1.1.1.1 netbsd-5-2-1-RELEASE:1.1.1.1 netbsd-5-1-3-RELEASE:1.1.1.1 netbsd-6-1-1-RELEASE:1.1.1.1 riastradh-drm2-base2:1.1.1.1 riastradh-drm2-base1:1.1.1.1 riastradh-drm2:1.1.1.1.0.32 riastradh-drm2-base:1.1.1.1 netbsd-6-1:1.1.1.1.0.38 netbsd-6-0-2-RELEASE:1.1.1.1 netbsd-6-1-RELEASE:1.1.1.1 khorben-n900:1.1.1.1.0.36 netbsd-6-1-RC4:1.1.1.1 netbsd-6-1-RC3:1.1.1.1 agc-symver:1.1.1.1.0.34 agc-symver-base:1.1.1.1 netbsd-6-1-RC2:1.1.1.1 netbsd-6-1-RC1:1.1.1.1 yamt-pagecache-base8:1.1.1.1 netbsd-5-2:1.1.1.1.0.30 netbsd-6-0-1-RELEASE:1.1.1.1 yamt-pagecache-base7:1.1.1.1 netbsd-5-2-RELEASE:1.1.1.1 netbsd-5-2-RC1:1.1.1.1 matt-nb6-plus-nbase:1.1.1.1 yamt-pagecache-base6:1.1.1.1 netbsd-6-0:1.1.1.1.0.28 netbsd-6-0-RELEASE:1.1.1.1 netbsd-6-0-RC2:1.1.1.1 tls-maxphys:1.1.1.1.0.26 tls-maxphys-base:1.1.1.1 matt-nb6-plus:1.1.1.1.0.24 matt-nb6-plus-base:1.1.1.1 netbsd-6-0-RC1:1.1.1.1 yamt-pagecache-base5:1.1.1.1 yamt-pagecache-base4:1.1.1.1 netbsd-6:1.1.1.1.0.22 netbsd-6-base:1.1.1.1 netbsd-5-1-2-RELEASE:1.1.1.1 netbsd-5-1-1-RELEASE:1.1.1.1 yamt-pagecache-base3:1.1.1.1 yamt-pagecache-base2:1.1.1.1 yamt-pagecache:1.1.1.1.0.2 yamt-pagecache-base:1.1.1.1 cherry-xenmp:1.1.1.1.0.20 cherry-xenmp-base:1.1.1.1 bouyer-quota2-nbase:1.1.1.1 bouyer-quota2:1.1.1.1.0.18 bouyer-quota2-base:1.1.1.1 matt-mips64-premerge-20101231:1.1.1.1 matt-nb5-mips64-premerge-20101231:1.1.1.1 matt-nb5-pq3:1.1.1.1.0.16 matt-nb5-pq3-base:1.1.1.1 netbsd-5-1:1.1.1.1.0.14 netbsd-5-1-RELEASE:1.1.1.1 netbsd-5-1-RC4:1.1.1.1 matt-nb5-mips64-k15:1.1.1.1 netbsd-5-1-RC3:1.1.1.1 netbsd-5-1-RC2:1.1.1.1 netbsd-5-1-RC1:1.1.1.1 netbsd-5-0-2-RELEASE:1.1.1.1 matt-nb5-mips64-premerge-20091211:1.1.1.1 matt-premerge-20091211:1.1.1.1 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.1.1.1 matt-nb4-mips64-k7-u2a-k9b:1.1.1.1 matt-nb5-mips64-u1-k1-k5:1.1.1.1 matt-nb5-mips64:1.1.1.1.0.12 netbsd-5-0-1-RELEASE:1.1.1.1 jym-xensuspend-nbase:1.1.1.1 netbsd-5-0:1.1.1.1.0.10 netbsd-5-0-RELEASE:1.1.1.1 netbsd-5-0-RC4:1.1.1.1 am-utils-6-2a3-20090320:1.1.1.1 netbsd-5-0-RC3:1.1.1.1 netbsd-5-0-RC2:1.1.1.1 jym-xensuspend:1.1.1.1.0.8 jym-xensuspend-base:1.1.1.1 netbsd-5-0-RC1:1.1.1.1 haad-dm-base:1.1.1.1 haad-dm-base2:1.1.1.1 haad-nbase2:1.1.1.1 netbsd-5:1.1.1.1.0.6 netbsd-5-base:1.1.1.1 matt-mips64-base2:1.1.1.1 haad-dm:1.1.1.1.0.4 haad-dm-base1:1.1.1.1 am-utils-6-2a3-20080919:1.1.1.1 ezk:1.1.1; locks; strict; comment @# @; 1.1 date 2008.09.19.20.07.23; author christos; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.09.19.20.07.23; author christos; state Exp; branches 1.1.1.1.4.1; next ; 1.1.1.1.4.1 date 2008.09.19.20.07.23; author haad; state dead; branches; next 1.1.1.1.4.2; 1.1.1.1.4.2 date 2008.10.19.22.39.47; author haad; state Exp; branches; next ; desc @@ 1.1 log @Initial revision @ text @# A SAMPLE CONFIGURATION FILE FOR AMD ############################################################################## # GLOBAL OPTIONS SECTION (must be first in amd.conf file) # For most options, the default value is listed first, but see amd.conf(5) [ global ] # (amd -n) normalize_hostnames = no | yes # do we want to strip domain names from hostnames or not? domain_strip = yes | no # (amd -p) print_pid = no | yes pid_file = /dev/stdout | /var/run/amd.pid # (amd -r) restart_mounts = no | yes unmount_on_exit = no | yes forced_unmounts = no | yes # (amd -a) auto_dir = /a # duration in seconds that a looked up name remain cached (amd -c) cache_duration = 300 # (amd -d) local_domain = cs.columbia.edu # (amd -k) karch = sun4m # (amd -A) arch = sun4 # if you don't like autoconf picking up "sunos5" as the os-type, override it # (amd -O) os = sos5 # (amd -o) osver = 2.5.1 # full os name full_os = linux-2.2.5 # OS vendor vendor = redhat # if you print_version after setting up "os", it will show it. (amd -v) print_version = no | yes # (amd -l) log_file = /dev/stderr | /var/log/amd | syslog[:facility] # should we truncate the log file on startup? truncate_log = no | yes # NFS (RPC) retry interval/counter, in tenths of secs (amd -t interval.counter) nfs_retry_interval = 8 nfs_retransmit_counter = 11 (eleven retransmission attempts) # The next four are the same as the above two, but allow you to set global # values for all UDP vs. TCP mounts separately. nfs_retry_interval_udp = 16 nfs_retransmit_counter_udp = 22 nfs_retry_interval_tcp = 4 nfs_retransmit_counter_tcp = 5 # These two are specific to Amd's top-level (NFSv2/udp) mounts # and they can also be set separately. nfs_retry_interval_toplvl = 6 nfs_retransmit_counter_toplvl = 8 # NFS attribute cache value for Amd's automount points # (some OSs use this parameter in units of seconds, and others in 0.1 seconds) # See README.attrcache for important information about this parameter. auto_attrcache = 0 # (amd -w) dismount_interval = 120 # (amd -y) nis_domain = nisDom-CS.columbia.edu # (amd -x) log_options = fatal,error,user,warn,info,map,stats,all # (amd -D) debug_options = all,defaults,test,amq,daemon,fork,\ full,hrtime,info,mem,mtab,str,readdir,trace,xdrtrace # path for mtab file during mtab debug mode debug_mtab_file = /tmp/mnttab # (amd -S) plock = yes | no # should browsable maps show number of entries to df/statfs (default=no) show_statfs_entries = no | yes # (hpux) cluster name (amd -C) cluster = ??? # LDAP (Lightweight Directory Access Protocol) options ldap_base = "ou=Marketing, o=AMD Ltd, c=US" ldap_hostports = ldap.your.domain:389 ldap_cache_seconds = 0 ldap_cache_maxmem = 131072 ldap_proto_version = 2 # default base name for hesiod maps hesiod_base = automount # interval to check if a reload of any maps is needed map_reload_interval = 3600 # alternate RPC program number to register with the port mapper portmap_program = 300019-300029 # Ask for a different Amq RPC port (both UDP and TCP). # If set to 0 (default), Amd will pick a port automatically. preferred_amq_port = 1234 # use fully qualified host names fully_qualified_hosts = no | yes # force NFS version or NFS protocol nfs_vers = 2 | 3 nfs_proto = udp | tcp # perform Amq service checks via tcpwrappers (tcpd/libwrap) use_tcpwrappers = yes | no # allow NFS requests from insecure (>=1024) ports nfs_allow_insecure_port = no | yes # accept local NFS packets from any local interface, not just 127.0.0.1 nfs_allow_any_interface = no | yes # address used for local NFS mount and RPC server (default to localhost) localhost_address = foo.example.com | 192.168.1.2 # number of seconds to timeout before map returns output exec_map_timeout = 10 # normalize multiple/trailing slashes or not? normalize_slashes = yes | no ############################################################################## # these 9 global options can be overridden by each map individually browsable_dirs = no | yes | full map_options = cache:=all map_type = file|hesiod|ndbm|nis|nisplus|passwd|union|ldap # any string that will be used to override to the map /defaults entry map_defaults = opts:=nosuid,rw,intr,bg,noquota;type:=link mount_type = nfs | autofs autofs_use_lofs = yes | no search_path = /etc/local:/etc/amdmaps:/misc/yp # selectors are not recognized by default in the /defaults entry selectors_in_defaults = no | yes # does this map use Sun Automounter map syntax? sun_map_syntax = no | yes ############################################################################## ############################################################################## # DEFINE AN AMD MOUNT POINT [ /home ] # map name must be defined, all else are optional map_name = /etc/amd.home | amd.home map_options = cache:=all # if map type is not defined, will search all map types (default) map_type = file|hesiod|ndbm|nis|nisplus|passwd|union|ldap search_path = /etc/local:/etc/amdmaps:/misc/yp # an amd or autofs mount point mount_type = nfs | autofs browsable_dirs = yes | no # an optional tag to be used with amd -T tag. untagged entries are always # used. Tagged ones get used only if specified with "amd -T" tag = test ############################################################################## # DEFINE ANOTHER AMD MOUNT POINT [ /src ] map_name = /usr/local/lib/amdmaps/amu.src # regular amd (nfs) mount point (default) mount_type = nfs # any string that will be used as prefix to the map /defaults entry # this overrides what's defined in [global] map_defaults = type:=nfs ############################################################################## # DEFINE ANOTHER AMD MOUNT POINT [ /test ] map_name = /etc/lookup-entry.sh # an executable map type map_type = exec ############################################################################## # DEFINE A SUN SYNTAX MOUNT POINT [ /proj ] map_name = /etc/amd.proj # does this map use Sun Automounter map syntax? sun_map_syntax = yes ############################################################################## @ 1.1.1.1 log @import current am-utils. @ text @@ 1.1.1.1.4.1 log @file amd.conf-sample was added on branch haad-dm on 2008-10-19 22:39:47 +0000 @ text @d1 166 @ 1.1.1.1.4.2 log @Sync with HEAD. @ text @a0 166 # A SAMPLE CONFIGURATION FILE FOR AMD ############################################################################## # GLOBAL OPTIONS SECTION (must be first in amd.conf file) # For most options, the default value is listed first, but see amd.conf(5) [ global ] # (amd -n) normalize_hostnames = no | yes # do we want to strip domain names from hostnames or not? domain_strip = yes | no # (amd -p) print_pid = no | yes pid_file = /dev/stdout | /var/run/amd.pid # (amd -r) restart_mounts = no | yes unmount_on_exit = no | yes forced_unmounts = no | yes # (amd -a) auto_dir = /a # duration in seconds that a looked up name remain cached (amd -c) cache_duration = 300 # (amd -d) local_domain = cs.columbia.edu # (amd -k) karch = sun4m # (amd -A) arch = sun4 # if you don't like autoconf picking up "sunos5" as the os-type, override it # (amd -O) os = sos5 # (amd -o) osver = 2.5.1 # full os name full_os = linux-2.2.5 # OS vendor vendor = redhat # if you print_version after setting up "os", it will show it. (amd -v) print_version = no | yes # (amd -l) log_file = /dev/stderr | /var/log/amd | syslog[:facility] # should we truncate the log file on startup? truncate_log = no | yes # NFS (RPC) retry interval/counter, in tenths of secs (amd -t interval.counter) nfs_retry_interval = 8 nfs_retransmit_counter = 11 (eleven retransmission attempts) # The next four are the same as the above two, but allow you to set global # values for all UDP vs. TCP mounts separately. nfs_retry_interval_udp = 16 nfs_retransmit_counter_udp = 22 nfs_retry_interval_tcp = 4 nfs_retransmit_counter_tcp = 5 # These two are specific to Amd's top-level (NFSv2/udp) mounts # and they can also be set separately. nfs_retry_interval_toplvl = 6 nfs_retransmit_counter_toplvl = 8 # NFS attribute cache value for Amd's automount points # (some OSs use this parameter in units of seconds, and others in 0.1 seconds) # See README.attrcache for important information about this parameter. auto_attrcache = 0 # (amd -w) dismount_interval = 120 # (amd -y) nis_domain = nisDom-CS.columbia.edu # (amd -x) log_options = fatal,error,user,warn,info,map,stats,all # (amd -D) debug_options = all,defaults,test,amq,daemon,fork,\ full,hrtime,info,mem,mtab,str,readdir,trace,xdrtrace # path for mtab file during mtab debug mode debug_mtab_file = /tmp/mnttab # (amd -S) plock = yes | no # should browsable maps show number of entries to df/statfs (default=no) show_statfs_entries = no | yes # (hpux) cluster name (amd -C) cluster = ??? # LDAP (Lightweight Directory Access Protocol) options ldap_base = "ou=Marketing, o=AMD Ltd, c=US" ldap_hostports = ldap.your.domain:389 ldap_cache_seconds = 0 ldap_cache_maxmem = 131072 ldap_proto_version = 2 # default base name for hesiod maps hesiod_base = automount # interval to check if a reload of any maps is needed map_reload_interval = 3600 # alternate RPC program number to register with the port mapper portmap_program = 300019-300029 # Ask for a different Amq RPC port (both UDP and TCP). # If set to 0 (default), Amd will pick a port automatically. preferred_amq_port = 1234 # use fully qualified host names fully_qualified_hosts = no | yes # force NFS version or NFS protocol nfs_vers = 2 | 3 nfs_proto = udp | tcp # perform Amq service checks via tcpwrappers (tcpd/libwrap) use_tcpwrappers = yes | no # allow NFS requests from insecure (>=1024) ports nfs_allow_insecure_port = no | yes # accept local NFS packets from any local interface, not just 127.0.0.1 nfs_allow_any_interface = no | yes # address used for local NFS mount and RPC server (default to localhost) localhost_address = foo.example.com | 192.168.1.2 # number of seconds to timeout before map returns output exec_map_timeout = 10 # normalize multiple/trailing slashes or not? normalize_slashes = yes | no ############################################################################## # these 9 global options can be overridden by each map individually browsable_dirs = no | yes | full map_options = cache:=all map_type = file|hesiod|ndbm|nis|nisplus|passwd|union|ldap # any string that will be used to override to the map /defaults entry map_defaults = opts:=nosuid,rw,intr,bg,noquota;type:=link mount_type = nfs | autofs autofs_use_lofs = yes | no search_path = /etc/local:/etc/amdmaps:/misc/yp # selectors are not recognized by default in the /defaults entry selectors_in_defaults = no | yes # does this map use Sun Automounter map syntax? sun_map_syntax = no | yes ############################################################################## ############################################################################## # DEFINE AN AMD MOUNT POINT [ /home ] # map name must be defined, all else are optional map_name = /etc/amd.home | amd.home map_options = cache:=all # if map type is not defined, will search all map types (default) map_type = file|hesiod|ndbm|nis|nisplus|passwd|union|ldap search_path = /etc/local:/etc/amdmaps:/misc/yp # an amd or autofs mount point mount_type = nfs | autofs browsable_dirs = yes | no # an optional tag to be used with amd -T tag. untagged entries are always # used. Tagged ones get used only if specified with "amd -T" tag = test ############################################################################## # DEFINE ANOTHER AMD MOUNT POINT [ /src ] map_name = /usr/local/lib/amdmaps/amu.src # regular amd (nfs) mount point (default) mount_type = nfs # any string that will be used as prefix to the map /defaults entry # this overrides what's defined in [global] map_defaults = type:=nfs ############################################################################## # DEFINE ANOTHER AMD MOUNT POINT [ /test ] map_name = /etc/lookup-entry.sh # an executable map type map_type = exec ############################################################################## # DEFINE A SUN SYNTAX MOUNT POINT [ /proj ] map_name = /etc/amd.proj # does this map use Sun Automounter map syntax? sun_map_syntax = yes ############################################################################## @