|
|
306fa1 |
autofs-5.0.9 - amd lookup add amd config descriptions to config
|
|
|
306fa1 |
|
|
|
306fa1 |
From: Ian Kent <raven@themaw.net>
|
|
|
306fa1 |
|
|
|
306fa1 |
Add amd configuration option descriptions to the default installed
|
|
|
306fa1 |
configuration file.
|
|
|
306fa1 |
|
|
|
306fa1 |
Including details about amd options that aren't used, haven't been
|
|
|
306fa1 |
implemented or have different behaviour within autofs.
|
|
|
306fa1 |
---
|
|
|
306fa1 |
redhat/autofs.conf.default.in | 214 ++++++++++++++++++++++++++++++++++++++++
|
|
|
306fa1 |
samples/autofs.conf.default.in | 214 ++++++++++++++++++++++++++++++++++++++++
|
|
|
306fa1 |
2 files changed, 428 insertions(+)
|
|
|
306fa1 |
|
|
|
306fa1 |
diff --git a/redhat/autofs.conf.default.in b/redhat/autofs.conf.default.in
|
|
|
306fa1 |
index c1362c7..ccccaab 100644
|
|
|
306fa1 |
--- a/redhat/autofs.conf.default.in
|
|
|
306fa1 |
+++ b/redhat/autofs.conf.default.in
|
|
|
306fa1 |
@@ -129,3 +129,217 @@ mount_nfs_default_protocol = 4
|
|
|
306fa1 |
#
|
|
|
306fa1 |
#map_hash_table_size = 1024
|
|
|
306fa1 |
#
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# Otions for the amd parser within autofs.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# amd configuration options that are aren't used, haven't been
|
|
|
306fa1 |
+# implemented or have different behaviour within autofs.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# A number of the amd configuration options are not used by autofs,
|
|
|
306fa1 |
+# some because they are not relevant within autofs, some because
|
|
|
306fa1 |
+# they are done differently in autofs and others that are not yet
|
|
|
306fa1 |
+# implemented.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# Since "mount_type" is always autofs (because there's no user space
|
|
|
306fa1 |
+# NFS server) the configuration entries relating to that aren't used.
|
|
|
306fa1 |
+# Also, server availability is done differently within autofs so the
|
|
|
306fa1 |
+# options that relate to the amd server monitoring sub-system are
|
|
|
306fa1 |
+# also not used.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# These options are mount_type, auto_attrcache, portmap_program,
|
|
|
306fa1 |
+# nfs_vers_ping, nfs_allow_any_interface, nfs_allow_insecure_port,
|
|
|
306fa1 |
+# nfs_proto, nfs_retransmit_counter, nfs_retransmit_counter_udp,
|
|
|
306fa1 |
+# nfs_retransmit_counter_tcp, nfs_retransmit_counter_toplvl,
|
|
|
306fa1 |
+# nfs_retry_interval, nfs_retry_interval_udp, nfs_retry_interval_tcp,
|
|
|
306fa1 |
+# nfs_retry_interval_toplvl and nfs_vers.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# Other options that are not used within the autofs implementation:
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# log_file, truncate_log - autofs used either stderr when running in
|
|
|
306fa1 |
+# the foreground or sends its output to syslog so an alternate
|
|
|
306fa1 |
+# log file (or truncating the log) can't be used.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# print_pid - there's no corresponding option for this within autofs.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# use_tcpwrappers, show_statfs_entries - there's no user space NFS
|
|
|
306fa1 |
+# server to control access to so this option isn't relevant.
|
|
|
306fa1 |
+# The show_statfs_entries can't be implemented for the same
|
|
|
306fa1 |
+# reason.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# debug_mtab_file - there's no user space NFS server and autofs
|
|
|
306fa1 |
+# avoids using file based mtab whenever possible.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# sun_map_syntax - obviously, are provided by autofs itself.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# plock, show_statfs_entries, preferred_amq_port - not supported.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# ldap_cache_maxmem, ldap_cache_seconds - external ldap caching
|
|
|
306fa1 |
+# is not used by autofs.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# ldap_proto_version - autofs always attempts to use the highest
|
|
|
306fa1 |
+# available ldap protocol version.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# cache_duration, map_reload_interval, map_options - the map
|
|
|
306fa1 |
+# entry cache is continually updated and stale entries
|
|
|
306fa1 |
+# cleaned on re-load, which is done when map changes are
|
|
|
306fa1 |
+# detected so these configuration entries are not used
|
|
|
306fa1 |
+# by autofs.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# localhost_address - is not used within autofs. This
|
|
|
306fa1 |
+# configuration option was only used in the amd user
|
|
|
306fa1 |
+# space server code and is not relevant within autofs.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# Options that are handled differently within autofs:
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# pid_file - must be given as a command line option on startup.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# print_version - program version and feature information is obtained
|
|
|
306fa1 |
+# by using the automount command line option "-V".
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# debug_options, log_options - autofs has somewhat more limited
|
|
|
306fa1 |
+# logging and debug logging options. When the log_options
|
|
|
306fa1 |
+# options is encountered it is converted to the nearest
|
|
|
306fa1 |
+# matching autofs logging option. Since the configuration
|
|
|
306fa1 |
+# option debug_options would be handled the same way it
|
|
|
306fa1 |
+# is ignored.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# restart_mounts - has no sensible meaning within autofs because autofs
|
|
|
306fa1 |
+# always tries to re-connect to existing mounts. While this
|
|
|
306fa1 |
+# has its own set of problems not re-connecting to existing
|
|
|
306fa1 |
+# mounts always results in a non-functional automount tree if
|
|
|
306fa1 |
+# mounts were busy at the last shutdown (as is also the case
|
|
|
306fa1 |
+# with amd when using mount_type autofs).
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# forced_unmounts - detaching mounts often causes serious problems
|
|
|
306fa1 |
+# for users of existing mounts. It is used by autofs in some
|
|
|
306fa1 |
+# cases, either at the explicit request of the user (with a
|
|
|
306fa1 |
+# command line or init option) and in some special cases during
|
|
|
306fa1 |
+# program operation but is avoided whenever possible.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# A number of configuration options are not yet implemented:
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# search_path - always a little frustrating, the compiled in
|
|
|
306fa1 |
+# map location should be used to locate maps but isn't
|
|
|
306fa1 |
+# in some cases. This requires work within autofs itself
|
|
|
306fa1 |
+# and that will (obviously) include implementing this
|
|
|
306fa1 |
+# configuration option for the amd map parser as well.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# fully_qualified_hosts - not yet implemented.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# unmount_on_exit - since autofs always tries to re-connect
|
|
|
306fa1 |
+# to mounts left mounted from a previous shutdown this
|
|
|
306fa1 |
+# is a sensible option to implement and that will be
|
|
|
306fa1 |
+# done.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# browsable_dirs - not yet implemented.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# exec_map_timeout - a timeout is not currently used for
|
|
|
306fa1 |
+# for program maps, might be implemented.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# tag - the tag option is not implemented within autofs.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# Supported options:
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# arch, karch, os, osver - these options default to what is returned
|
|
|
306fa1 |
+# from uname(2) and can be overridden if required.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# full_os - has no default and must be set in the configuration
|
|
|
306fa1 |
+# if used in maps.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# cluster - if not set defaults to the host domain name. This option
|
|
|
306fa1 |
+# corresponds to the HP_UX cluster name (according to the amd
|
|
|
306fa1 |
+# source) and is probably not used in Linux but is set anyway.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# vendor - has a default value of "unknown", it must be set in the
|
|
|
306fa1 |
+# configuration if used in maps.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# auto_dir - is the base name of the mount tree used for external
|
|
|
306fa1 |
+# mounts that are sometimes needed by amd maps. Its default
|
|
|
306fa1 |
+# value is "/a".
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# map_type - specifies the autofs map source, such as file, nis,
|
|
|
306fa1 |
+# ldap etc. and has no default value set.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# map_defaults - is used to override /defaults entries within maps
|
|
|
306fa1 |
+# and can be used to provide different defaults on specific
|
|
|
306fa1 |
+# machines without having to modify centrally managed maps.
|
|
|
306fa1 |
+# It is empty by default.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# dismount_interval - is equivalent to the autofs timeout option. It
|
|
|
306fa1 |
+# is only possible to use this with type "auto" mounts due
|
|
|
306fa1 |
+# to the way the autofs kernel module performs expiry. It
|
|
|
306fa1 |
+# takes its default value from the autofs internal default
|
|
|
306fa1 |
+# of 600 seconds.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# autofs_use_lofs - if set to "yes" autofs will attempt to use bind
|
|
|
306fa1 |
+# mounts for type "auto" when possible.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# nis_domain - allows setting of a domain name other than the system
|
|
|
306fa1 |
+# default.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# local_domain - is used to override (or set) the host domain name.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# normalize_hostnames - if set to "yes" then the contents of ${rhost}
|
|
|
306fa1 |
+# is translated in its official host name.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# domain_strip - if set to "yes" the domain name part of the host
|
|
|
306fa1 |
+# is strippped when normalizing hostnames. This can be useful
|
|
|
306fa1 |
+# when using of the same maps in a multiple domain environment.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# normalize_slashes - is set to "yes" by default and will collapse
|
|
|
306fa1 |
+# multiple unescaped occurrences of "/" to a single "/".
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# selectors_in_defaults, selectors_on_default - has a default value
|
|
|
306fa1 |
+# of "no". If set to "yes" then any defaults entry will be
|
|
|
306fa1 |
+# checked for selectors to determine the values to be used.
|
|
|
306fa1 |
+# selectors_in_defaults is the preferred option to use.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# ldap_base - has no default value. It must be set to the base dn
|
|
|
306fa1 |
+# that is used for queries if ldap is to be used as a map
|
|
|
306fa1 |
+# source.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# ldap_hostports - has no default value set. It must be set to
|
|
|
306fa1 |
+# the URI of the LDAP server to be used for lookups when
|
|
|
306fa1 |
+# ldap is used a map source. It may contain a comma or
|
|
|
306fa1 |
+# space seperated list of LDAP URIs.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# hesiod_base - the base name used for hesiod map sources.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# Define global options for the amd parser within autofs.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+[ amd ]
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# Override the internal default with the same timeout that
|
|
|
306fa1 |
+# is used by the override in the autofs configuration, sanity
|
|
|
306fa1 |
+# only change.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+dismount_interval = 300
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# map_type = file
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# Overriding this can cause autofs to use less resources because
|
|
|
306fa1 |
+# it will use symlinks instead of bind mounts in certain cases.
|
|
|
306fa1 |
+# You should ensure that the autofs kernel module your using
|
|
|
306fa1 |
+# supports expration of symlinks for best results (although this
|
|
|
306fa1 |
+# appears to work reasonably well most of the time without the
|
|
|
306fa1 |
+# update).
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# autofs_use_lofs = no
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# Several configuration options can be set per mount point.
|
|
|
306fa1 |
+# In particulr map_type, map_name, map_defaults, search_path,
|
|
|
306fa1 |
+# browsable_dirs, dismount_interval and selectors_in_defaults
|
|
|
306fa1 |
+# (not all of which are currently implemented, see above).
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# Also, if a section for an amd mount point is defined here
|
|
|
306fa1 |
+# it isn't necessary to specify the format in the corresponding
|
|
|
306fa1 |
+# master map entry and the format will be inherited for type
|
|
|
306fa1 |
+# "auto" mounts.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# [ /expamle/mount ]
|
|
|
306fa1 |
+# dismount_interval = 60
|
|
|
306fa1 |
+# map_type = nis
|
|
|
306fa1 |
diff --git a/samples/autofs.conf.default.in b/samples/autofs.conf.default.in
|
|
|
306fa1 |
index c8e4006..616bc66 100644
|
|
|
306fa1 |
--- a/samples/autofs.conf.default.in
|
|
|
306fa1 |
+++ b/samples/autofs.conf.default.in
|
|
|
306fa1 |
@@ -128,3 +128,217 @@ browse_mode = no
|
|
|
306fa1 |
#
|
|
|
306fa1 |
#map_hash_table_size = 1024
|
|
|
306fa1 |
#
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# Otions for the amd parser within autofs.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# amd configuration options that are aren't used, haven't been
|
|
|
306fa1 |
+# implemented or have different behaviour within autofs.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# A number of the amd configuration options are not used by autofs,
|
|
|
306fa1 |
+# some because they are not relevant within autofs, some because
|
|
|
306fa1 |
+# they are done differently in autofs and others that are not yet
|
|
|
306fa1 |
+# implemented.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# Since "mount_type" is always autofs (because there's no user space
|
|
|
306fa1 |
+# NFS server) the configuration entries relating to that aren't used.
|
|
|
306fa1 |
+# Also, server availability is done differently within autofs so the
|
|
|
306fa1 |
+# options that relate to the amd server monitoring sub-system are
|
|
|
306fa1 |
+# also not used.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# These options are mount_type, auto_attrcache, portmap_program,
|
|
|
306fa1 |
+# nfs_vers_ping, nfs_allow_any_interface, nfs_allow_insecure_port,
|
|
|
306fa1 |
+# nfs_proto, nfs_retransmit_counter, nfs_retransmit_counter_udp,
|
|
|
306fa1 |
+# nfs_retransmit_counter_tcp, nfs_retransmit_counter_toplvl,
|
|
|
306fa1 |
+# nfs_retry_interval, nfs_retry_interval_udp, nfs_retry_interval_tcp,
|
|
|
306fa1 |
+# nfs_retry_interval_toplvl and nfs_vers.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# Other options that are not used within the autofs implementation:
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# log_file, truncate_log - autofs used either stderr when running in
|
|
|
306fa1 |
+# the foreground or sends its output to syslog so an alternate
|
|
|
306fa1 |
+# log file (or truncating the log) can't be used.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# print_pid - there's no corresponding option for this within autofs.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# use_tcpwrappers, show_statfs_entries - there's no user space NFS
|
|
|
306fa1 |
+# server to control access to so this option isn't relevant.
|
|
|
306fa1 |
+# The show_statfs_entries can't be implemented for the same
|
|
|
306fa1 |
+# reason.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# debug_mtab_file - there's no user space NFS server and autofs
|
|
|
306fa1 |
+# avoids using file based mtab whenever possible.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# sun_map_syntax - obviously, are provided by autofs itself.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# plock, show_statfs_entries, preferred_amq_port - not supported.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# ldap_cache_maxmem, ldap_cache_seconds - external ldap caching
|
|
|
306fa1 |
+# is not used by autofs.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# ldap_proto_version - autofs always attempts to use the highest
|
|
|
306fa1 |
+# available ldap protocol version.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# cache_duration, map_reload_interval, map_options - the map
|
|
|
306fa1 |
+# entry cache is continually updated and stale entries
|
|
|
306fa1 |
+# cleaned on re-load, which is done when map changes are
|
|
|
306fa1 |
+# detected so these configuration entries are not used
|
|
|
306fa1 |
+# by autofs.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# localhost_address - is not used within autofs. This
|
|
|
306fa1 |
+# configuration option was only used in the amd user
|
|
|
306fa1 |
+# space server code and is not relevant within autofs.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# Options that are handled differently within autofs:
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# pid_file - must be given as a command line option on startup.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# print_version - program version and feature information is obtained
|
|
|
306fa1 |
+# by using the automount command line option "-V".
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# debug_options, log_options - autofs has somewhat more limited
|
|
|
306fa1 |
+# logging and debug logging options. When the log_options
|
|
|
306fa1 |
+# options is encountered it is converted to the nearest
|
|
|
306fa1 |
+# matching autofs logging option. Since the configuration
|
|
|
306fa1 |
+# option debug_options would be handled the same way it
|
|
|
306fa1 |
+# is ignored.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# restart_mounts - has no sensible meaning within autofs because autofs
|
|
|
306fa1 |
+# always tries to re-connect to existing mounts. While this
|
|
|
306fa1 |
+# has its own set of problems not re-connecting to existing
|
|
|
306fa1 |
+# mounts always results in a non-functional automount tree if
|
|
|
306fa1 |
+# mounts were busy at the last shutdown (as is also the case
|
|
|
306fa1 |
+# with amd when using mount_type autofs).
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# forced_unmounts - detaching mounts often causes serious problems
|
|
|
306fa1 |
+# for users of existing mounts. It is used by autofs in some
|
|
|
306fa1 |
+# cases, either at the explicit request of the user (with a
|
|
|
306fa1 |
+# command line or init option) and in some special cases during
|
|
|
306fa1 |
+# program operation but is avoided whenever possible.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# A number of configuration options are not yet implemented:
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# search_path - always a little frustrating, the compiled in
|
|
|
306fa1 |
+# map location should be used to locate maps but isn't
|
|
|
306fa1 |
+# in some cases. This requires work within autofs itself
|
|
|
306fa1 |
+# and that will (obviously) include implementing this
|
|
|
306fa1 |
+# configuration option for the amd map parser as well.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# fully_qualified_hosts - not yet implemented.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# unmount_on_exit - since autofs always tries to re-connect
|
|
|
306fa1 |
+# to mounts left mounted from a previous shutdown this
|
|
|
306fa1 |
+# is a sensible option to implement and that will be
|
|
|
306fa1 |
+# done.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# browsable_dirs - not yet implemented.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# exec_map_timeout - a timeout is not currently used for
|
|
|
306fa1 |
+# for program maps, might be implemented.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# tag - the tag option is not implemented within autofs.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# Supported options:
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# arch, karch, os, osver - these options default to what is returned
|
|
|
306fa1 |
+# from uname(2) and can be overridden if required.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# full_os - has no default and must be set in the configuration
|
|
|
306fa1 |
+# if used in maps.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# cluster - if not set defaults to the host domain name. This option
|
|
|
306fa1 |
+# corresponds to the HP_UX cluster name (according to the amd
|
|
|
306fa1 |
+# source) and is probably not used in Linux but is set anyway.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# vendor - has a default value of "unknown", it must be set in the
|
|
|
306fa1 |
+# configuration if used in maps.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# auto_dir - is the base name of the mount tree used for external
|
|
|
306fa1 |
+# mounts that are sometimes needed by amd maps. Its default
|
|
|
306fa1 |
+# value is "/a".
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# map_type - specifies the autofs map source, such as file, nis,
|
|
|
306fa1 |
+# ldap etc. and has no default value set.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# map_defaults - is used to override /defaults entries within maps
|
|
|
306fa1 |
+# and can be used to provide different defaults on specific
|
|
|
306fa1 |
+# machines without having to modify centrally managed maps.
|
|
|
306fa1 |
+# It is empty by default.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# dismount_interval - is equivalent to the autofs timeout option. It
|
|
|
306fa1 |
+# is only possible to use this with type "auto" mounts due
|
|
|
306fa1 |
+# to the way the autofs kernel module performs expiry. It
|
|
|
306fa1 |
+# takes its default value from the autofs internal default
|
|
|
306fa1 |
+# of 600 seconds.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# autofs_use_lofs - if set to "yes" autofs will attempt to use bind
|
|
|
306fa1 |
+# mounts for type "auto" when possible.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# nis_domain - allows setting of a domain name other than the system
|
|
|
306fa1 |
+# default.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# local_domain - is used to override (or set) the host domain name.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# normalize_hostnames - if set to "yes" then the contents of ${rhost}
|
|
|
306fa1 |
+# is translated in its official host name.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# domain_strip - if set to "yes" the domain name part of the host
|
|
|
306fa1 |
+# is strippped when normalizing hostnames. This can be useful
|
|
|
306fa1 |
+# when using of the same maps in a multiple domain environment.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# normalize_slashes - is set to "yes" by default and will collapse
|
|
|
306fa1 |
+# multiple unescaped occurrences of "/" to a single "/".
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# selectors_in_defaults, selectors_on_default - has a default value
|
|
|
306fa1 |
+# of "no". If set to "yes" then any defaults entry will be
|
|
|
306fa1 |
+# checked for selectors to determine the values to be used.
|
|
|
306fa1 |
+# selectors_in_defaults is the preferred option to use.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# ldap_base - has no default value. It must be set to the base dn
|
|
|
306fa1 |
+# that is used for queries if ldap is to be used as a map
|
|
|
306fa1 |
+# source.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# ldap_hostports - has no default value set. It must be set to
|
|
|
306fa1 |
+# the URI of the LDAP server to be used for lookups when
|
|
|
306fa1 |
+# ldap is used a map source. It may contain a comma or
|
|
|
306fa1 |
+# space seperated list of LDAP URIs.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# hesiod_base - the base name used for hesiod map sources.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# Define global options for the amd parser within autofs.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+[ amd ]
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# Override the internal default with the same timeout that
|
|
|
306fa1 |
+# is used by the override in the autofs configuration, sanity
|
|
|
306fa1 |
+# only change.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+dismount_interval = 300
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# map_type = file
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# Overriding this can cause autofs to use less resources because
|
|
|
306fa1 |
+# it will use symlinks instead of bind mounts in certain cases.
|
|
|
306fa1 |
+# You should ensure that the autofs kernel module your using
|
|
|
306fa1 |
+# supports expration of symlinks for best results (although this
|
|
|
306fa1 |
+# appears to work reasonably well most of the time without the
|
|
|
306fa1 |
+# update).
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# autofs_use_lofs = no
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# Several configuration options can be set per mount point.
|
|
|
306fa1 |
+# In particulr map_type, map_name, map_defaults, search_path,
|
|
|
306fa1 |
+# browsable_dirs, dismount_interval and selectors_in_defaults
|
|
|
306fa1 |
+# (not all of which are currently implemented, see above).
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# Also, if a section for an amd mount point is defined here
|
|
|
306fa1 |
+# it isn't necessary to specify the format in the corresponding
|
|
|
306fa1 |
+# master map entry and the format will be inherited for type
|
|
|
306fa1 |
+# "auto" mounts.
|
|
|
306fa1 |
+#
|
|
|
306fa1 |
+# [ /expamle/mount ]
|
|
|
306fa1 |
+# dismount_interval = 60
|
|
|
306fa1 |
+# map_type = nis
|