[Bug 196403] New: nfsd(8) man page incorrectly specifies -minthreads and -maxthreads options as getopt style options...
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Dec 31 16:40:12 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196403
Bug ID: 196403
Summary: nfsd(8) man page incorrectly specifies -minthreads and
-maxthreads options as getopt style options...
Product: Documentation
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Documentation
Assignee: freebsd-doc at FreeBSD.org
Reporter: greg at codeconcepts.com
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 at harper:/usr/obj/usr/src/sys/HARPER amd64
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-doc
mailing list