nfsv4(4): mention the nfsv4_server_only setting

Add note about configuring the NFSv4-only option.

It is already mentioned in rc.conf(5), but documenting it here makes it
more likely that people see it when they need it.

MFC after:	2 weeks
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1008
This commit is contained in:
Lexi Winter 2024-01-06 19:12:02 +01:00 committed by Daniel Ebdrup Jensen
parent f402e08737
commit fbbdfa2b8a

View file

@ -208,6 +208,14 @@ if the server is using the ``<user>@<domain>'' form of user/group strings or
is using the ``-manage-gids'' option for
.Xr nfsuserd 8 .
.Pp
In addition, you can set:
.sp
.Bd -literal -offset indent -compact
nfsv4_server_only="YES"
.Ed
.sp
to disable support for NFSv2 and NFSv3.
.Pp
You will also need to add at least one ``V4:'' line to the
.Xr exports 5
file for