git: 12d97150021f - stable/13 - nfsd.8: Update for nfsd running in jails

From: Rick Macklem <rmacklem_at_FreeBSD.org>
Date: Mon, 22 May 2023 18:30:36 UTC
The branch stable/13 has been updated by rmacklem:

URL: https://cgit.FreeBSD.org/src/commit/?id=12d97150021f19950fe0627a26573c2dbbcbe03a

commit 12d97150021f19950fe0627a26573c2dbbcbe03a
Author:     Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2023-03-29 21:58:47 +0000
Commit:     Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2023-05-22 18:29:25 +0000

    nfsd.8: Update for nfsd running in jails
    
    Nfsd can now be run in an appropriately
    configured vnet jail.
    
    This man page update adds some information
    for this case.
    
    This is a content change.
    
    (cherry picked from commit a1254dcaa869bba20e46d966c53c7473bb24d02b)
---
 usr.sbin/nfsd/nfsd.8 | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/usr.sbin/nfsd/nfsd.8 b/usr.sbin/nfsd/nfsd.8
index c8a5fea4e6a2..40e75f0a232d 100644
--- a/usr.sbin/nfsd/nfsd.8
+++ b/usr.sbin/nfsd/nfsd.8
@@ -28,7 +28,7 @@
 .\"	@(#)nfsd.8	8.4 (Berkeley) 3/29/95
 .\" $FreeBSD$
 .\"
-.Dd December 20, 2019
+.Dd March 22, 2023
 .Dt NFSD 8
 .Os
 .Sh NAME
@@ -56,6 +56,22 @@ must be running for a machine to operate as a server.
 Unless otherwise specified, eight servers per CPU for UDP transport are
 started.
 .Pp
+When
+.Nm
+is run in an appropriately configured vnet jail, the server is restricted
+to TCP transport and no pNFS service.
+Therefore, the
+.Fl t
+option must be specified and none of the
+.Fl u ,
+.Fl p
+and
+.Fl m
+options can be specified when run in a vnet jail.
+See
+.Xr jail 8
+for more information.
+.Pp
 The following options are available:
 .Bl -tag -width Ds
 .It Fl r
@@ -307,6 +323,7 @@ just do a
 .Xr stablerestart 5 ,
 .Xr gssd 8 ,
 .Xr ipfw 8 ,
+.Xr jail 8 ,
 .Xr mountd 8 ,
 .Xr nfsiod 8 ,
 .Xr nfsrevoke 8 ,