|
|
306fa1 |
autofs-5.1.2 - fix typos in README.amd-maps
|
|
|
306fa1 |
|
|
|
306fa1 |
From: Ian Kent <raven@themaw.net>
|
|
|
306fa1 |
|
|
|
306fa1 |
Fix a few typos and try and clearify some statements in the README.
|
|
|
306fa1 |
|
|
|
306fa1 |
Signed-off-by: Ian Kent <raven@themaw.net>
|
|
|
306fa1 |
---
|
|
|
306fa1 |
CHANGELOG | 1 +
|
|
|
306fa1 |
README.amd-maps | 15 ++++++++-------
|
|
|
306fa1 |
2 files changed, 9 insertions(+), 7 deletions(-)
|
|
|
306fa1 |
|
|
|
306fa1 |
--- autofs-5.0.7.orig/CHANGELOG
|
|
|
306fa1 |
+++ autofs-5.0.7/CHANGELOG
|
|
|
306fa1 |
@@ -222,6 +222,7 @@
|
|
|
306fa1 |
- fix count_mounts() function.
|
|
|
306fa1 |
- fix argc off by one in mount_autofs.c.
|
|
|
306fa1 |
- fix _strncmp() usage.
|
|
|
306fa1 |
+- fix typos in README.amd-maps.
|
|
|
306fa1 |
|
|
|
306fa1 |
25/07/2012 autofs-5.0.7
|
|
|
306fa1 |
=======================
|
|
|
306fa1 |
--- autofs-5.0.7.orig/README.amd-maps
|
|
|
306fa1 |
+++ autofs-5.0.7/README.amd-maps
|
|
|
306fa1 |
@@ -7,7 +7,8 @@ The ability to parse amd format maps has
|
|
|
306fa1 |
How to use amd maps in autofs
|
|
|
306fa1 |
-----------------------------
|
|
|
306fa1 |
|
|
|
306fa1 |
-To add amd map parsing to autofs new "format" module has been added.
|
|
|
306fa1 |
+To add amd map parsing to autofs a new "format" module has been added.
|
|
|
306fa1 |
+
|
|
|
306fa1 |
To use this new map format module the existing master map syntax is
|
|
|
306fa1 |
used as described below.
|
|
|
306fa1 |
|
|
|
306fa1 |
@@ -20,7 +21,7 @@ For amd format maps this becomes:
|
|
|
306fa1 |
/amd/mp file,amd:amd.mp
|
|
|
306fa1 |
|
|
|
306fa1 |
which will use file as the map source and the amd format parser for
|
|
|
306fa1 |
-the map. But see the section below on configuration below for how to
|
|
|
306fa1 |
+the map. But see the section below on configuration for how to
|
|
|
306fa1 |
eliminate the need to specify "map-type,format" in the master map.
|
|
|
306fa1 |
|
|
|
306fa1 |
Configuration sub-system changes
|
|
|
306fa1 |
@@ -42,18 +43,18 @@ All that's needed to add an existing amd
|
|
|
306fa1 |
add it below the autofs configuration. Apart from changing the amd
|
|
|
306fa1 |
"[ global ]" section name to "[ amd ]" nothing else should need to be
|
|
|
306fa1 |
changed. However, quite a few amd configuration options don't have
|
|
|
306fa1 |
-meaning within autofs. When these options are seen it should be logged.
|
|
|
306fa1 |
+meaning within autofs. When these options are seen they are logged.
|
|
|
306fa1 |
|
|
|
306fa1 |
Be aware that, if the an old configuration exists and the configuration
|
|
|
306fa1 |
hasn't been updated after the installation, changes to the the old
|
|
|
306fa1 |
configuration will override changes to the new configuration because
|
|
|
306fa1 |
backward compatibility takes priority over the new implementation.
|
|
|
306fa1 |
|
|
|
306fa1 |
-The amd per-map sections have two functions, to allow per-mount
|
|
|
306fa1 |
+The amd per-mount sections have two functions, to allow per-mount
|
|
|
306fa1 |
configuration, as it does in amd, and to allow master map entries to
|
|
|
306fa1 |
avoid the need to specify the "type,format" part of the master map
|
|
|
306fa1 |
-entry so they can use the nsswitch map source functionality in the
|
|
|
306fa1 |
-same way autofs master map entries do.
|
|
|
306fa1 |
+entry. This allows them to use the nsswitch map source functionality
|
|
|
306fa1 |
+in the same way autofs master map entries do.
|
|
|
306fa1 |
|
|
|
306fa1 |
If a section for an amd mount is added below the global amd section
|
|
|
306fa1 |
using the mount point path (as is done in amd.conf) then autofs will
|
|
|
306fa1 |
@@ -63,7 +64,7 @@ be given in the master map entry the map
|
|
|
306fa1 |
as it is in amd and will no be used.
|
|
|
306fa1 |
|
|
|
306fa1 |
If a mount point is present in the master map and the source of the
|
|
|
306fa1 |
-map is nis then it should be sufficient to use (for example):
|
|
|
306fa1 |
+map is nis then it is sufficient to use (for example):
|
|
|
306fa1 |
|
|
|
306fa1 |
/amd/mp amd.mp
|
|
|
306fa1 |
|