opnsense-src/usr.sbin/nfsd
Rick Macklem f03c886912 nfsd.8: Note that the -n option is deprecated
PR#284616 reported that --maxthreads did not
obey the 256 thread limit defined as MAXNFSDCNT in nfsd.c.

This is actually a feature and not a bug, since many NFS
servers will now want to run more than 256 threads and
--maxthreads can be used to set the upper bound on the
number of threads. (MAXNFSDCNT was used long ago to
define how many daemons would be forked, before daemons
were replaced by kernel threads.)

However, the nfsd.8 man page was misleading, since it
indicated that "-n" was the equivalent to setting both
--minthreads and --maxthreads to the same value.
This patch fixes the man page.

This is a content change.

PR:	284616

(cherry picked from commit f27afbd850021b9cb7cf4e66f0621c793ad37de0)
2025-03-25 14:35:53 -07:00
..
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
nfsd.8 nfsd.8: Note that the -n option is deprecated 2025-03-25 14:35:53 -07:00
nfsd.c nfsd.c: Synchronize error handling 2024-10-13 13:47:01 -07:00
nfsv4.4 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
pnfs.4 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
pnfsserver.4 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
stablerestart.5 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00