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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "[email protected]"

Reply via email to