aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_nfs/mount_nfs.8
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2013-07-09 01:31:36 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2013-07-09 01:31:36 +0000
commitb54de2127ef7a2e2f7bc44b764e4596e810ca17b (patch)
tree79e7d826b2775f51e15dd400f3cf3ad419b04106 /sbin/mount_nfs/mount_nfs.8
parentbf3c9330ba9df5e2fbec0ba1bb92255e87cc48d6 (diff)
downloadsrc-b54de2127ef7a2e2f7bc44b764e4596e810ca17b.tar.gz
src-b54de2127ef7a2e2f7bc44b764e4596e810ca17b.zip
Document the "gssname" and "allgssname" mount options added by the
host-based initiator credential patches. This is a content change.
Notes
Notes: svn path=/head/; revision=253051
Diffstat (limited to 'sbin/mount_nfs/mount_nfs.8')
-rw-r--r--sbin/mount_nfs/mount_nfs.826
1 files changed, 25 insertions, 1 deletions
diff --git a/sbin/mount_nfs/mount_nfs.8 b/sbin/mount_nfs/mount_nfs.8
index 26ed091b0638..216b24845fbc 100644
--- a/sbin/mount_nfs/mount_nfs.8
+++ b/sbin/mount_nfs/mount_nfs.8
@@ -28,7 +28,7 @@
.\" @(#)mount_nfs.8 8.3 (Berkeley) 3/29/95
.\" $FreeBSD$
.\"
-.Dd December 9, 2012
+.Dd July 8, 2013
.Dt MOUNT_NFS 8
.Os
.Sh NAME
@@ -118,6 +118,13 @@ for regular files, and 30 -> 60 seconds for directories.
The algorithm to calculate the timeout is based on the age of the file.
The older the file,
the longer the cache is considered valid, subject to the limits above.
+.It Cm allgssname
+This option can be used along with
+.Fl o Cm gssname
+to specify that all operations should use the host-based initiator
+credential.
+This may be used for clients that run system daemons that need to
+access files on the NFSv4 mounted volume.
.It Cm bg
If an initial attempt to contact the server fails, fork off a child to keep
trying the mount in the background.
@@ -138,6 +145,23 @@ short.
.It Cm fg
Same as not specifying
.Cm bg .
+.It Cm gssname Ns = Ns Aq Ar service-principal-name
+This option can be used with the KerberosV security flavors for NFSv4 mounts
+to specify the
+.Dq "service-principal-name"
+of a host-based entry in the default
+keytab file that is used for system operations.
+It allows the mount to be performed by
+.Dq "root"
+and avoids problems with
+cached credentials for the system operations expiring.
+The
+.Dq "service-prinicpal-name"
+should be specified without instance or domain and is typically
+.Dq "host" ,
+.Dq "nfs"
+or
+.Dq "root" .
.It Cm hard
Same as not specifying
.Cm soft .