Blame SOURCES/autofs-5.0.9-amd-lookup-add-REDAME-amd-maps.patch

304803
autofs-5.0.9 - amd lookup add README.amd-maps
304803
304803
From: Ian Kent <ikent@redhat.com>
304803
304803
304803
---
304803
 README.amd-maps |  126 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
304803
 1 file changed, 126 insertions(+)
304803
 create mode 100644 README.amd-maps
304803
304803
diff --git a/README.amd-maps b/README.amd-maps
304803
new file mode 100644
304803
index 0000000..b31a7db
304803
--- /dev/null
304803
+++ b/README.amd-maps
304803
@@ -0,0 +1,126 @@
304803
+
304803
+amd map parser
304803
+==============
304803
+
304803
+The ability to parse amd format maps has been added to autofs.
304803
+
304803
+How to use amd maps in autofs
304803
+-----------------------------
304803
+
304803
+To add amd map parsing to autofs new "format" module has been added.
304803
+To use this new map format module the existing master map syntax is
304803
+used as described below.
304803
+
304803
+The master map entry syntax is:
304803
+
304803
+mount-point [map-type[,format]:]map [options]
304803
+
304803
+For amd format maps this becomes:
304803
+
304803
+/amd/mp   file,amd:amd.mp
304803
+
304803
+which will use file as the map source and the amd format parser for
304803
+the map. But see the section below on configuration below for how to
304803
+eliminate the need to specify "map-type,format" in the master map.
304803
+
304803
+Configuration sub-system changes
304803
+--------------------------------
304803
+
304803
+The configuration sub-system has changed to accommodate the amd parser.
304803
+See autofs.conf(5) for more information on format changes.
304803
+
304803
+The configuration is now split into system initialization only
304803
+configuration and the daemon configuration. Previously everything was
304803
+located in the system initialization configuration file, but now the
304803
+configuration is located in autofs.conf in the directory the distribution
304803
+uses for the autofs configuration.
304803
+
304803
+There is information about what amd configuration entries can be used
304803
+in comments of the installed configuration so that's worth a look.
304803
+
304803
+All that's needed to add an existing amd configuration to autofs is to
304803
+add it below the autofs configuration. Apart from changing the amd
304803
+"[ global ]" section name to "[ amd ]" nothing else should need to be
304803
+changed. However, quite a few amd configuration options don't have
304803
+meaning within autofs. When these options are seen it should be logged.
304803
+
304803
+Be aware that, if the an old configuration exists and the configuration
304803
+hasn't been updated after the installation, changes to the the old
304803
+configuration will override changes to the new configuration because
304803
+backward compatibility takes priority over the new implementation.
304803
+
304803
+The amd per-map sections have two functions, to allow per-mount
304803
+configuration, as it does in amd, and to allow master map entries to
304803
+avoid the need to specify the "type,format" part of the master map
304803
+entry so they can use the nsswitch map source functionality in the
304803
+same way autofs master map entries do.
304803
+
304803
+If a section for an amd mount is added below the global amd section
304803
+using the mount point path (as is done in amd.conf) then autofs will
304803
+know the map format is amd (it doesn't matter if there are no other
304803
+configuration options in the mount point section). Since the map must
304803
+be given in the master map entry the map_name option is not mandatory
304803
+as it is in amd and will no be used.
304803
+
304803
+If a mount point is present in the master map and the source of the
304803
+map is nis then it should be sufficient to use (for example):
304803
+
304803
+/amd/mp           amd.mp
304803
+
304803
+in the master map and
304803
+
304803
+automount: nis
304803
+
304803
+in /etc/nsswitch.conf or
304803
+
304803
+[ amd ]
304803
+map_type = nis
304803
+
304803
+in the configuration along with
304803
+
304803
+[ /amd/mp ]
304803
+
304803
+or
304803
+
304803
+[ /amd/mp ]
304803
+map_type = nis
304803
+
304803
+
304803
+amd map options that can be used
304803
+--------------------------------
304803
+
304803
+In an attempt to describe the usable amd map options, many of the amd
304803
+map options have been added to autofs(5).
304803
+
304803
+Not all the amd functionality has been implemented. The autofs(5) man
304803
+page usually mentions if something hasn't been implemented so that's
304803
+worth checking.
304803
+
304803
+What hasn't been implemented
304803
+----------------------------
304803
+
304803
+The configuration options fully_qualified_hosts, unmount_on_exit and
304803
+browsable_dirs (and a couple of others) aren't implemented.
304803
+
304803
+Map types (sources) ndbm, passwd are not implemented.
304803
+The map source "sss" can't be used for amd format maps.
304803
+
304803
+Map caching options aren't used, the existing autofs map caching is
304803
+always used for available map sources.
304803
+
304803
+The regex map key matching feature is not implemented.
304803
+
304803
+Mount types lustre, nfsx, jfs, program and direct haven't been
304803
+implemented and other mount types that aren't implemented in amd are
304803
+also not available.
304803
+
304803
+How to find out more
304803
+--------------------
304803
+
304803
+Have a look at the man pages autofs.conf(5), autofs(5) and to a
304803
+lesser extent auto.master(5). These may help.
304803
+
304803
+But the best way to get more information is to ask on the
304803
+autofs mailing list as described in the README file.
304803
+
304803
+Ian