|
|
306fa1 |
autofs-5.0.8 - fix variable substitution description
|
|
|
306fa1 |
|
|
|
306fa1 |
From: Ian Kent <ikent@redhat.com>
|
|
|
306fa1 |
|
|
|
306fa1 |
The desription about Variable substitution in autofs(5) says that
|
|
|
306fa1 |
translation is done on the key and location fields which is not
|
|
|
306fa1 |
correct.
|
|
|
306fa1 |
|
|
|
306fa1 |
Expecting to be able to receive a key from the kernel that
|
|
|
306fa1 |
contains variables to be substituted doesn't make sense and
|
|
|
306fa1 |
to be able to use map keys with substitution would mean a full
|
|
|
306fa1 |
map scan for every lookup for all map sources. That is not
|
|
|
306fa1 |
unacceptable for large maps.
|
|
|
306fa1 |
---
|
|
|
306fa1 |
CHANGELOG | 1 +
|
|
|
306fa1 |
man/autofs.5 | 7 ++++---
|
|
|
306fa1 |
2 files changed, 5 insertions(+), 3 deletions(-)
|
|
|
306fa1 |
|
|
|
306fa1 |
--- autofs-5.0.7.orig/CHANGELOG
|
|
|
306fa1 |
+++ autofs-5.0.7/CHANGELOG
|
|
|
306fa1 |
@@ -101,6 +101,7 @@
|
|
|
306fa1 |
- fix inconsistent error returns in handle_packet_missing_direct().
|
|
|
306fa1 |
- simple coverity fixes.
|
|
|
306fa1 |
- fixes for samples/auto.master.
|
|
|
306fa1 |
+- fix variable substitution description.
|
|
|
306fa1 |
|
|
|
306fa1 |
25/07/2012 autofs-5.0.7
|
|
|
306fa1 |
=======================
|
|
|
306fa1 |
--- autofs-5.0.7.orig/man/autofs.5
|
|
|
306fa1 |
+++ autofs-5.0.7/man/autofs.5
|
|
|
306fa1 |
@@ -157,9 +157,10 @@ The special character '&' will be replac
|
|
|
306fa1 |
in the example above, a lookup for the key 'foo' would yield a mount
|
|
|
306fa1 |
of server:/export/home/foo.
|
|
|
306fa1 |
.SS Variable Substitution
|
|
|
306fa1 |
-The following special variables will be substituted in the key and location
|
|
|
306fa1 |
-fields of an automounter map if prefixed with $ as customary from shell
|
|
|
306fa1 |
-scripts (Curly braces can be used to separate the field name):
|
|
|
306fa1 |
+The following special variables will be substituted in the location
|
|
|
306fa1 |
+field of an automounter map entry if prefixed with $ as customary
|
|
|
306fa1 |
+from shell scripts (curly braces can be used to separate the field
|
|
|
306fa1 |
+name):
|
|
|
306fa1 |
.sp
|
|
|
306fa1 |
.RS +.2i
|
|
|
306fa1 |
.ta 1.5i
|