git: 91a74536a159 - main - mount_nfs.8: Document the new "mountport" NFS mount option

From: Rick Macklem <rmacklem_at_FreeBSD.org>
Date: Wed, 11 Dec 2024 23:19:22 UTC
The branch main has been updated by rmacklem:

URL: https://cgit.FreeBSD.org/src/commit/?id=91a74536a159e49cee76ae4eb3ce05e2ef70c773

commit 91a74536a159e49cee76ae4eb3ce05e2ef70c773
Author:     Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2024-12-11 23:18:21 +0000
Commit:     Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2024-12-11 23:18:21 +0000

    mount_nfs.8: Document the new "mountport" NFS mount option
    
    Commit 0e8a36a2ab12 adds a new NFS mount
    option called mountport.
    
    This patch for the man page documents this new NFS mount option.
    
    This is a content change.
    
    Reviewed by:    delphij, emaste
    MFC after:      2 weeks
    Differential Revision:  https://reviews.freebsd.org/D47849
---
 sbin/mount_nfs/mount_nfs.8 | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/sbin/mount_nfs/mount_nfs.8 b/sbin/mount_nfs/mount_nfs.8
index 13f0608ccad9..4ae4b6dbd46b 100644
--- a/sbin/mount_nfs/mount_nfs.8
+++ b/sbin/mount_nfs/mount_nfs.8
@@ -25,7 +25,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd October 8, 2023
+.Dd November 29, 2024
 .Dt MOUNT_NFS 8
 .Os
 .Sh NAME
@@ -196,6 +196,16 @@ This should be used for mounts on old servers that cannot handle a
 group list size of 16, as specified in RFC 1057.
 Try 8, if users in a lot of groups cannot get response from the mount
 point.
+.It Cm mountport Ns = Ns Aq Ar value
+Specify the port number to be used to communicate with
+.Xr mountd 8
+on the NFS server.
+This option allows an NFSv2 or NFSv3 mount to be done without
+the need to run the
+.Xr rpcbind 8
+service.
+This option is meaningless for an NFSv4 mount, since NFSv4
+does not use the Mount protocol.
 .It Cm mntudp
 Force the mount protocol to use UDP transport, even for TCP NFS mounts.
 (Necessary for some old
@@ -672,6 +682,7 @@ Same as
 .Xr mount 8 ,
 .Xr nfsd 8 ,
 .Xr nfsiod 8 ,
+.Xr rpcbind 8 ,
 .Xr rpc.tlsclntd 8 ,
 .Xr showmount 8
 .Sh HISTORY