amd.conf-sample revision 38494
1# -*- text -*- 2# A SAMPLE CONFIGURATION FILE FOR AMD 3 4############################################################################## 5# GLOBAL OPTIONS SECTION (must be first in amd.conf file) 6[ global ] 7# (amd -n) 8normalize_hostnames = yes | no 9# (amd -p) 10print_pid = yes | no 11pid_file = /dev/stdout | /var/run/amd.pid 12# (amd -r) 13restart_mounts = yes | no 14unmount_on_exit = no | yes 15# (amd -a) 16auto_dir = /a 17# duration in seconds that a looked up name remain cached (amd -c) 18cache_duration = 300 19# (amd -d) 20local_domain = cs.columbia.edu 21# (amd -k) 22karch = sun4m 23arch = sun4 24# if you don't like autoconf picking up "sunos5" as the os-type, override it 25os = sos5 26# (amd -o) 27osver = 2.5.1 28# if you print_version after setting up "os", it will show it. (amd -v) 29print_version = yes | no 30 31# (amd -l) 32log_file = /var/log/amd | syslog | syslog:facility 33# NFS (RPC/UDP) retry interval, in tenths of secs (amd -t interval.counter) 34nfs_retry_interval = 8 35nfs_retransmit_counter = 110 36# (amd -w) 37dismount_interval = 120 38# (amd -y) 39nis_domain = nisDom-CS.columbia.edu 40# (amd -x) 41log_options = fatal,error,user,warn,info,map,stats,all 42# (amd -D) 43debug_options = all,amq,daemon,fork,full,info,mem,mtab,str,test,trace 44# (amd -S) 45plock = no | yes 46# selectors on /defaults are off by default 47selectors_on_default = yes | no 48# should browsable maps show number of entries to df/statfs (default=no) 49show_statfs_entries = yes | no 50# (hpux) cluster name (amd -C) 51cluster = ??? 52# LDAP (Lightweight Directory Access Protocol) options 53ldap_base = ldap.your.domain:389 54ldap_hostports = "ou=Marketing, o=AMD Ltd, c=US" 55ldap_cache_seconds = 0 (default) 56ldap_cache_maxmem = 131072 (default) 57# default base name for hesiod maps 58hesiod_base = automount 59# these 5 options can be overridden by each map individually 60browsable_dirs = yes | no | full 61map_options = cache:=all 62map_type = file|hesiod|ndbm|nis|nisplus|passwd|union|ldap 63mount_type = nfs | autofs 64search_path = /etc/local:/etc/amdmaps:/misc/yp 65# alternate RPC program number to register with the port mapper 66portmap_program = 300019-300029 67# Use fully qualified host names 68fully_qualified_hosts = yes | no 69 70############################################################################## 71# DEFINE AN AMD MOUNT POINT 72[ /home ] 73# map name must be defined, all else are optional 74map_name = /etc/amd.home | amd.home 75map_options = cache:=all 76# if map type is not defined, will search all map types (default) 77map_type = file|hesiod|ndbm|nis|nisplus|passwd|union|ldap 78search_path = /etc/local:/etc/amdmaps:/misc/yp 79# an amd or autofs mount point 80mount_type = nfs | autofs 81browsable_dirs = yes | no 82# an optional tag to be used with amd -T tag. untagged entries are always 83# used. Tagged ones get used only if specified with "amd -T" 84tag = test 85 86############################################################################## 87# DEFINE ANOTHER AMD MOUNT POINT 88[ /src ] 89map_name = /usr/local/lib/amdmaps/amu.src 90# regular amd (nfs) mount point (default) 91# don't try the "autofs" type. It is not implemented yet. 92mount_type = nfs 93 94############################################################################## 95