git: 50f2705d2674 - stable/13 - mount_nfs.8: Update the man page for commit a145cf3f73c7

Rick Macklem rmacklem at FreeBSD.org
Sun Jul 11 22:33:09 UTC 2021


The branch stable/13 has been updated by rmacklem:

URL: https://cgit.FreeBSD.org/src/commit/?id=50f2705d267491b27376d37ee25986f33f92271e

commit 50f2705d267491b27376d37ee25986f33f92271e
Author:     Rick Macklem <rmacklem at FreeBSD.org>
AuthorDate: 2021-06-26 21:09:28 +0000
Commit:     Rick Macklem <rmacklem at FreeBSD.org>
CommitDate: 2021-07-11 22:30:01 +0000

    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).
    
    (cherry picked from commit b413b03597db10dbee514141b10f7c7ef236abe6)
---
 sbin/mount_nfs/mount_nfs.8 | 24 ++++++++++++------------
 1 file 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.


More information about the dev-commits-src-all mailing list