Date: Wed, 31 Dec 2014 16:40:12 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-doc@FreeBSD.org Subject: [Bug 196403] New: nfsd(8) man page incorrectly specifies -minthreads and -maxthreads options as getopt style options... Message-ID: <bug-196403-9@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: greg@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@harper:/usr/obj/usr/src/sys/HARPER amd64 -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196403-9>