diff options
author | Neil Brown <neilb@suse.de> | 2012-10-15 12:50:35 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2012-10-15 13:07:49 -0400 |
commit | fa7c7b6e590367a2b1dc2ba2d9f5f4500ff29ae3 (patch) | |
tree | 4f1eb3bf89a0166077d36a798d304bf90c34efef /utils/mount/nfsmount.conf.man | |
parent | a16f4a13677d13b0aae9327a3b9e8414470b7927 (diff) | |
download | nfs-utils-fa7c7b6e590367a2b1dc2ba2d9f5f4500ff29ae3.tar.gz nfs-utils-fa7c7b6e590367a2b1dc2ba2d9f5f4500ff29ae3.tar.xz nfs-utils-fa7c7b6e590367a2b1dc2ba2d9f5f4500ff29ae3.zip |
mount.nfs mapage: clear up confusion between 'proto' and 'transport'
The mount option "proto=" actually set the "transport" which in
netconfig usage is the pairing of a protocol (e.g. UDP, TCP) with
a protocol family (e.g. INET, INET6).
This can cause confusion if people naively except "proto=udp" to work
equally well on IPv6.
So add some text to both nfs(5) and nfsmount.conf(5) to hopefully
clarify this.
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/mount/nfsmount.conf.man')
-rw-r--r-- | utils/mount/nfsmount.conf.man | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/utils/mount/nfsmount.conf.man b/utils/mount/nfsmount.conf.man index 12a3fe7..3aa3456 100644 --- a/utils/mount/nfsmount.conf.man +++ b/utils/mount/nfsmount.conf.man @@ -1,5 +1,5 @@ .\"@(#)nfsmount.conf.5" -.TH NFSMOUNT.CONF 5 "9 Mar 2008" +.TH NFSMOUNT.CONF 5 "9 October 2012" .SH NAME nfsmount.conf - Configuration file for NFS mounts .SH SYNOPSIS @@ -18,6 +18,10 @@ to particular variables using the .BR = operator, as in .BR Proto=Tcp . +The variables that can be assigned are exactly the set of NFS specific +mount options listed in +.BR nfs (5). +.PP Sections are broken up into three basic categories: Global options, Server options and Mount Point options. .HP @@ -54,7 +58,7 @@ are defined in the configuration file. Proto=Tcp .RS .HP -The TCP protocol will be used on every NFS mount. +The TCP/IPv4 protocol will be used on every NFS mount. .HP .RE [ Server \(lqnfsserver.foo.com\(rq ] @@ -62,10 +66,13 @@ The TCP protocol will be used on every NFS mount. rsize=32k .br wsize=32k +.br + proto=udp6 .HP .RS -A 33k (32768 bytes) block size will be used as the read and write -size on all mounts to the 'nfsserver.foo.com' server. +A 32k (32768 bytes) block size will be used as the read and write +size on all mounts to the 'nfsserver.foo.com' server. UDP/IPv6 +is the protocol to be used. .HP .RE .BR |