Blame SOURCES/autofs-5.1.3-improve-description-of-mount_nfs_default_protocol.patch

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