aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2021-06-26 21:09:28 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2021-06-26 21:09:28 +0000
commitb413b03597db10dbee514141b10f7c7ef236abe6 (patch)
tree6f35ff3a4af40f78b7d99eeb6896d0fe1dcfa74b
parentbba96bb143bb803968036543b76e062445cc9834 (diff)
downloadsrc-b413b03597db10dbee514141b10f7c7ef236abe6.tar.gz
src-b413b03597db10dbee514141b10f7c7ef236abe6.zip
mount_nfs.8: Update the man page for commit a145cf3f73c7
The NFSv4 client now uses the highest minor version of NFSv4 by default instead of minor version 0, for NFSv4 mounts. The "minorversion" mount option may be used to override this default. This patch updates the man page to reflect this change. While here, fix nfsstat(8) to be nfsstat(1). Reviewed by: otis MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D30768
-rw-r--r--sbin/mount_nfs/mount_nfs.824
1 files changed, 12 insertions, 12 deletions
diff --git a/sbin/mount_nfs/mount_nfs.8 b/sbin/mount_nfs/mount_nfs.8
index 76e009817d8b..36a3c180b1e3 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 January 17, 2021
+.Dd June 26, 2021
.Dt MOUNT_NFS 8
.Os
.Sh NAME
@@ -206,9 +206,15 @@ Use the NFS Version 3 protocol.
Use the NFS Version 4 protocol.
This option will force the mount to use
TCP transport.
+By default, the highest minor version of NFS Version 4 that is
+supported by the NFS Version 4 server will be used.
+See the
+.Cm minorversion
+option.
.It Cm minorversion Ns = Ns Aq Ar value
-Override the default of 0 for the minor version of the NFS Version 4 protocol.
-The minor versions other than 0 currently supported are 1 and 2.
+Use the specified minor version for a NFS Version 4 mount,
+overriding the default.
+The minor versions supported are 0, 1, and 2.
This option is only meaningful when used with the
.Cm nfsv4
option.
@@ -221,7 +227,7 @@ It may be required when an accumulation of NFS version 4 Opens occurs,
as indicated by the
.Dq Opens
count displayed by
-.Xr nfsstat 8
+.Xr nfsstat 1
with the
.Fl c
and
@@ -231,22 +237,16 @@ A common case for an accumulation of Opens is a shared library within
the NFS mount that is used by several
processes, where at least one of these processes is always running.
This option cannot be used for an NFS Version 4, minor version 0 mount.
-As such, this option requires the
-.Cm minorversion
-option be specified with a value of 1 for AmazonEFS, because AmazonEFS does
-not support minor version 2 at this time.
It may not work correctly when Delegations are being issued by a server,
but note that the AmazonEFS server does not issued delegations at this time.
This option is only meaningful when used with the
.Cm nfsv4
-and
-.Cm minorversion
-options.
+option.
.It Cm pnfs
Enable support for parallel NFS (pNFS) for minor version 1 or 2 of the
NFS Version 4 protocol.
This option is only meaningful when used with the
-.Cm minorversion
+.Cm nfsv4
option.
.It Cm noac
Disable attribute caching.