diff mbox

nfs.man: add description of multiple sec= options

Message ID 1383680936-2170-1-git-send-email-dros@netapp.com (mailing list archive)
State New, archived
Headers show

Commit Message

Weston Andros Adamson Nov. 5, 2013, 7:48 p.m. UTC
The client now supports multiple sec= options as a colon delimited list.

Signed-off-by: Weston Andros Adamson <dros@netapp.com>
---
Updated with comments from Chuck and Trond - I changed the wording and
added an example.

The example section could use some work... but I'll leave that for another day.

 utils/mount/nfs.man | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)
diff mbox

Patch

diff --git a/utils/mount/nfs.man b/utils/mount/nfs.man
index 2a42b93..67031b5 100644
--- a/utils/mount/nfs.man
+++ b/utils/mount/nfs.man
@@ -380,9 +380,10 @@  If a value of zero is specified, the
 .BR mount (8)
 command exits immediately after the first failure.
 .TP 1.5i
-.BI sec= flavor
-The security flavor to use for accessing files on this mount point.
-If the server does not support this flavor, the mount operation fails.
+.BI sec= flavors
+A colon-separated list of one or more security flavors to use for accessing
+files on the mounted export. If the server does not support any of these
+flavors, the mount operation fails.
 If
 .B sec=
 is not specified, the client attempts to find
@@ -908,7 +909,7 @@  Here is an example from an /etc/fstab file for an NFS version 2 mount over UDP.
 	server:/export	/mnt	nfs	nfsvers=2,proto=udp	0 0
 .fi
 .P
-Try this example to mount using NFS version 4 over TCP
+This example shows how to mount using NFS version 4 over TCP
 with Kerberos 5 mutual authentication.
 .P
 .nf
@@ -916,6 +917,14 @@  with Kerberos 5 mutual authentication.
 	server:/export	/mnt	nfs4	sec=krb5	0 0
 .fi
 .P
+This example shows how to mount using NFS version 4 over TCP
+with Kerberos 5 privacy or data integrity mode.
+.P
+.nf
+.ta 8n +16n +6n +6n +30n
+	server:/export	/mnt	nfs4	sec=krb5p:krb5i	0 0
+.fi
+.P
 This example can be used to mount /usr over NFS.
 .P
 .nf