From owner-dev-commits-src-branches@freebsd.org Sun Jul 11 22:33:09 2021 Return-Path: Delivered-To: dev-commits-src-branches@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1D6CC66FCE2; Sun, 11 Jul 2021 22:33:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GNM9c52Xfz3vpj; Sun, 11 Jul 2021 22:33:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 938282391D; Sun, 11 Jul 2021 22:33:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 16BMX8Xr032148; Sun, 11 Jul 2021 22:33:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16BMX8Jq032147; Sun, 11 Jul 2021 22:33:08 GMT (envelope-from git) Date: Sun, 11 Jul 2021 22:33:08 GMT Message-Id: <202107112233.16BMX8Jq032147@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Rick Macklem Subject: git: 50f2705d2674 - stable/13 - mount_nfs.8: Update the man page for commit a145cf3f73c7 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rmacklem X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 50f2705d267491b27376d37ee25986f33f92271e Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-branches@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the stable branches of the FreeBSD src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2021 22:33:09 -0000 The branch stable/13 has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=50f2705d267491b27376d37ee25986f33f92271e commit 50f2705d267491b27376d37ee25986f33f92271e Author: Rick Macklem AuthorDate: 2021-06-26 21:09:28 +0000 Commit: Rick Macklem 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.