summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2009-10-22 15:35:54 -0400
committerSteve Dickson <steved@redhat.com>2009-10-22 15:35:54 -0400
commit37122505cab9a3370e06a147efde36262371e664 (patch)
treea9a96a961d2c99f8a6a2346fc67e647531f1bd71
parenta8b90e8f64a7d53b20c0980f2a6d9a8d5945bcc4 (diff)
downloadnfs-utils-37122505cab9a3370e06a147efde36262371e664.tar.gz
nfs-utils-37122505cab9a3370e06a147efde36262371e664.tar.xz
nfs-utils-37122505cab9a3370e06a147efde36262371e664.zip
Added the defaultproto and defaultvers variable to the mount
configuration file. Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--utils/mount/nfsmount.conf22
1 files changed, 18 insertions, 4 deletions
diff --git a/utils/mount/nfsmount.conf b/utils/mount/nfsmount.conf
index 991838f..9b8ff4a 100644
--- a/utils/mount/nfsmount.conf
+++ b/utils/mount/nfsmount.conf
@@ -28,10 +28,24 @@
# This statically named section defines global mount
# options that can be applied on all NFS mount.
#
-# Protocol Version [2,3]
-# Nfsvers=3
-#
-# Network Transport [udp,tcp,rdma] (Note: values are case sensitive)
+# Protocol Version [2,3,4]
+# This defines the default protocol version which will
+# be used to start the negotiation with the server.
+# Defaultvers=4
+#
+# Setting this option makes it mandatory the server supports the
+# given version. The mount will fail if the given version is
+# not support by the server.
+# Nfsvers=4
+#
+# Network Protocol [udp,tcp,rdma] (Note: values are case sensitive)
+# This defines the default network protocol which will
+# be used to start the negotiation with the server.
+# Defaultproto=tcp
+#
+# Setting this option makes it mandatory the server supports the
+# given network protocol. The mount will fail if the given network
+# protocol is not supported by the server.
# Proto=tcp
#
# The number of times a request will be retired before