| Summary: | nfsd(8) man page incorrectly specifies -minthreads and -maxthreads options as getopt style options... | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | Greg Becker <greg> |
| Component: | Books & Articles | Assignee: | Xin LI <delphij> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | CC: | delphij |
| Priority: | --- | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
A commit references this bug: Author: delphij Date: Thu Jan 1 06:53:34 UTC 2015 New revision: 276495 URL: https://svnweb.freebsd.org/changeset/base/276495 Log: Fix markup for minthreads and maxthreads. PR: 196403 MFC after: 2 weeks Changes: head/usr.sbin/nfsd/nfsd.8 Fix applied to stable/10, thanks! A commit references this bug: Author: delphij Date: Fri Jan 23 18:45:23 UTC 2015 New revision: 277591 URL: https://svnweb.freebsd.org/changeset/base/277591 Log: MFC r276495: Fix markup for minthreads and maxthreads. PR: 196403 Changes: _U stable/10/ stable/10/usr.sbin/nfsd/nfsd.8 |
The nfsd(8) manpage on FreeBSD 10.1-STABLE lists two new options: -maxthreads threads -minthreads threads in both the synopsis and description. The nfsd binary doesn't like these options, and suggests that they are long/gnu style options of the form: --maxthreads threads --minthreads threads Using the long style notation works as expected, suggesting the man page is in error. $ grep minthreads /etc/rc.conf nfs_server_flags="-u -t -minthreads 4" $ sudo service nfsd start NFSv4 is disabled Starting nfsd. nfsd: invalid option -- m usage: nfsd [-ardtueo] [-h bindip] [-n numservers] [--minthreads #] [--maxthreads #] /etc/rc.d/nfsd: WARNING: failed to start nfsd $ grep minthreads /etc/rc.conf nfs_server_flags="-u -t --minthreads 4" $ sudo service nfsd start NFSv4 is disabled Starting nfsd. uname -a FreeBSD harper.cc.codeconcepts.com 10.1-STABLE FreeBSD 10.1-STABLE #2 r276320M: Sun Dec 28 08:03:01 CST 2014 root@harper:/usr/obj/usr/src/sys/HARPER amd64