All of lore.kernel.org
 help / color / mirror / Atom feed
From: Weston Andros Adamson <dros@netapp.com>
To: <steved@redhat.com>
Cc: <linux-nfs@vger.kernel.org>, Weston Andros Adamson <dros@netapp.com>
Subject: [PATCH] nfs.man: add description of multiple sec= options
Date: Tue, 5 Nov 2013 14:48:56 -0500	[thread overview]
Message-ID: <1383680936-2170-1-git-send-email-dros@netapp.com> (raw)

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 --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
-- 
1.8.3.1 (Apple Git-46)


             reply	other threads:[~2013-11-05 19:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-05 19:48 Weston Andros Adamson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-10-29 16:27 [PATCH] nfs.man: add description of multiple sec= options Weston Andros Adamson
2013-10-29 16:30 ` Chuck Lever
2013-10-29 16:36   ` Myklebust, Trond
2013-10-29 16:40     ` Chuck Lever
2013-10-29 16:54     ` Weston Andros Adamson
2013-10-29 16:40   ` Weston Andros Adamson
2013-10-29 17:00     ` Chuck Lever

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1383680936-2170-1-git-send-email-dros@netapp.com \
    --to=dros@netapp.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=steved@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.