mount_nfs.8: Update the man page for commit a145cf3f73

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
This commit is contained in:
Rick Macklem 2021-06-26 14:09:28 -07:00
parent bba96bb143
commit b413b03597

View file

@ -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.