|
|
cef8f8 |
autofs-5.1.3 - improve description of mount_nfs_default_protocol
|
|
|
cef8f8 |
|
|
|
cef8f8 |
From: Ian Kent <raven@themaw.net>
|
|
|
cef8f8 |
|
|
|
cef8f8 |
The description of the mount_nfs_default_protocol configuration
|
|
|
cef8f8 |
option is not clear, it sounds like it's a setting that causes
|
|
|
cef8f8 |
autofs to use the specified NFS version as a mount default which
|
|
|
cef8f8 |
it doesn't, so try and improve it.
|
|
|
cef8f8 |
|
|
|
cef8f8 |
Signed-off-by: Ian Kent <raven@themaw.net>
|
|
|
cef8f8 |
---
|
|
|
cef8f8 |
CHANGELOG | 1 +
|
|
|
cef8f8 |
man/autofs.conf.5.in | 10 +++++++---
|
|
|
cef8f8 |
redhat/autofs.conf.default.in | 12 ++++++++----
|
|
|
cef8f8 |
samples/autofs.conf.default.in | 12 ++++++++----
|
|
|
cef8f8 |
4 files changed, 24 insertions(+), 11 deletions(-)
|
|
|
cef8f8 |
|
|
|
cef8f8 |
--- autofs-5.0.7.orig/CHANGELOG
|
|
|
cef8f8 |
+++ autofs-5.0.7/CHANGELOG
|
|
|
cef8f8 |
@@ -264,6 +264,7 @@
|
|
|
cef8f8 |
- be silent about nis domain not set.
|
|
|
cef8f8 |
- make map source reference message debug only.
|
|
|
cef8f8 |
- handle additional nfs versions in mount_nfs.c.
|
|
|
cef8f8 |
+- improve description of mount_nfs_default_protocol.
|
|
|
cef8f8 |
|
|
|
cef8f8 |
25/07/2012 autofs-5.0.7
|
|
|
cef8f8 |
=======================
|
|
|
cef8f8 |
--- autofs-5.0.7.orig/man/autofs.conf.5.in
|
|
|
cef8f8 |
+++ autofs-5.0.7/man/autofs.conf.5.in
|
|
|
cef8f8 |
@@ -62,10 +62,14 @@ Maps are browsable by default (program d
|
|
|
cef8f8 |
.TP
|
|
|
cef8f8 |
.B mount_nfs_default_protocol
|
|
|
cef8f8 |
.br
|
|
|
cef8f8 |
-Specify the default protocol used by
|
|
|
cef8f8 |
+Set the default protocol that
|
|
|
cef8f8 |
.BR mount.nfs (8)
|
|
|
cef8f8 |
-(program default 3). Since we can't identify this default automatically
|
|
|
cef8f8 |
-we need to set it in the autofs configuration.
|
|
|
cef8f8 |
+uses when performing a mount (program default 3). Autofs needs to know
|
|
|
cef8f8 |
+the default NFS protocol that
|
|
|
cef8f8 |
+.BR mount.nfs(8)
|
|
|
cef8f8 |
+uses so it can do special case handling for its availability probe for
|
|
|
cef8f8 |
+different NFS protocols. Since we can't identify this default
|
|
|
cef8f8 |
+automatically we need to set it in the autofs configuration.
|
|
|
cef8f8 |
.TP
|
|
|
cef8f8 |
.B append_options
|
|
|
cef8f8 |
.br
|
|
|
cef8f8 |
--- autofs-5.0.7.orig/redhat/autofs.conf.default.in
|
|
|
cef8f8 |
+++ autofs-5.0.7/redhat/autofs.conf.default.in
|
|
|
cef8f8 |
@@ -44,10 +44,14 @@ timeout = 300
|
|
|
cef8f8 |
#
|
|
|
cef8f8 |
browse_mode = no
|
|
|
cef8f8 |
#
|
|
|
cef8f8 |
-# mount_nfs_default_protocol - specify the default protocol used by
|
|
|
cef8f8 |
-# mount.nfs(8). Since we can't identify
|
|
|
cef8f8 |
-# the default automatically we need to
|
|
|
cef8f8 |
-# set it in our configuration.
|
|
|
cef8f8 |
+# mount_nfs_default_protocol - set the default protocol that mount.nfs(8)
|
|
|
cef8f8 |
+# uses when performing a mount. Autofs needs
|
|
|
cef8f8 |
+# to know the default NFS protocol that
|
|
|
cef8f8 |
+# mount.nfs(8) uses so it can do special case
|
|
|
cef8f8 |
+# handling for its availability probe for
|
|
|
cef8f8 |
+# different NFS protocols. Since we can't
|
|
|
cef8f8 |
+# identify the default automatically we need
|
|
|
cef8f8 |
+# to set it in our configuration.
|
|
|
cef8f8 |
#
|
|
|
cef8f8 |
#mount_nfs_default_protocol = 3
|
|
|
cef8f8 |
mount_nfs_default_protocol = 4
|
|
|
cef8f8 |
--- autofs-5.0.7.orig/samples/autofs.conf.default.in
|
|
|
cef8f8 |
+++ autofs-5.0.7/samples/autofs.conf.default.in
|
|
|
cef8f8 |
@@ -44,10 +44,14 @@ timeout = 300
|
|
|
cef8f8 |
#
|
|
|
cef8f8 |
browse_mode = no
|
|
|
cef8f8 |
#
|
|
|
cef8f8 |
-# mount_nfs_default_protocol - specify the default protocol used by
|
|
|
cef8f8 |
-# mount.nfs(8). Since we can't identify
|
|
|
cef8f8 |
-# the default automatically we need to
|
|
|
cef8f8 |
-# set it in our configuration.
|
|
|
cef8f8 |
+# mount_nfs_default_protocol - set the default protocol that mount.nfs(8)
|
|
|
cef8f8 |
+# uses when performing a mount. Autofs needs
|
|
|
cef8f8 |
+# to know the default NFS protocol that
|
|
|
cef8f8 |
+# mount.nfs(8) uses so it can do special case
|
|
|
cef8f8 |
+# handling for its availability probe for
|
|
|
cef8f8 |
+# different NFS protocols. Since we can't
|
|
|
cef8f8 |
+# identify the default automatically we need
|
|
|
cef8f8 |
+# to set it in our configuration.
|
|
|
cef8f8 |
#
|
|
|
cef8f8 |
#mount_nfs_default_protocol = 3
|
|
|
cef8f8 |
#
|