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