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

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