On 2026-04-20 23:27:55, Lloyd wrote: > these really are missing from the man page. Hmm. > > Looks like they were merged into NetBSD back in 2007 (long after the > fork) but the changes were never sync'd: OpenBSD uses different flag letters than NetBSD, ho hummm... Using the NetBSD manpage as a guide then OpenBSD's could look like: -o options Options are specified with a -o flag followed by a comma separated string of options. The prefix "no" may be added to invert the behavior of default options that do not take arguments. See the mount(8) man page for possible options and their meanings. The following NFS specific options are also available: ac Enable attribute caching for both files and directories (default). acdirmax=num Cache directory attributes for no more than num seconds. The default is 60 seconds. acdirmin=num Cache directory attributes for at least num seconds. The default is 5 seconds. acregmax=num Cache file attributes for no more than num seconds. The default is 60 seconds. acregmin=num Cache file attributes for at least num seconds. The default is 5 seconds. bg Same as -b. conn Same as -c. dumbtimer Same as -d. intr Same as -i. mntudp Same as -U. nfsv2 Same as -2. nfsv3 Same as -3. port=portnumber Use the specified port number for NFS requests. The default is to query the portmapper for the NFS port. rdirplus Same as -l. resvport Use a reserved socket port number (default). soft Same as -s. tcp Same as -T. For resvport I did not put same as -P because according to the source (mount_nfs.c) the flag -P is a no-op whereas option resvport is not. It would be nice to get the manpage updated before 8.0.
No comments:
Post a Comment