Index | Thread | Search

From:
obsd@mulh.net
Subject:
Re: Mount NFS specific options
To:
tech@openbsd.org
Date:
Wed, 22 Apr 2026 16:24:30 -0400

Download raw body.

Thread
  • obsd@mulh.net:

    Mount NFS specific options

My final tweaks to the terse descriptions, keep to single line,
wording and case.  From last diff updated dumbtimer, nfsv2, nfsv3.

Comments?  Ok?


The manual page for mount_nfs does not list all of the NFS
specific options supported, only 6 of the 17 are shown.

Options like "soft" and "intr" are common and used in examples
everywhere and other manual pages (ex: fstab).

This diff adds the other options with a terse description
followed by a "Same as" pointing to the corresponding flag.


--- sbin/mount_nfs/mount_nfs.8	Thu Nov  9 13:47:27 2023	1.41
+++ sbin/mount_nfs/mount_nfs.8	Wed Apr 22 16:11:02 2026
@@ -163,9 +163,41 @@
 .Ar num
 seconds.
 The default is 5 seconds.
+.It Cm bg
+Keep trying mount in background.  Same as
+.Fl b .
+.It Cm conn
+For UDP, do not do a connect.  Same as
+.Fl c .
+.It Cm dumbtimer
+Turn off dynamic estimator.  Same as
+.Fl d .
+.It Cm intr
+Make the mount interruptible.  Same as
+.Fl i .
+.It Cm mntudp
+Force mount protocol to use UDP.  Same as
+.Fl U .
+.It Cm nfsv2
+Use NFS version 2 protocol.  Same as
+.Fl 2 .
+.It Cm nfsv3
+Use NFS version 3 protocol.  Same as
+.Fl 3 .
 .It Cm port Ns = Ns Ar portnumber
 Use the specified port number for NFS requests.
 The default is to query the portmapper for the NFS port.
+.It Cm rdirplus
+RPC "readdir plus" should be used.  Same as
+.Fl l .
+.It Cm resvport
+Use a reserved socket port number (default).
+.It Cm soft
+A soft mount.  Same as
+.Fl s .
+.It Cm tcp
+Use TCP instead of UDP.  Same as
+.Fl T .
 .El
 .It Fl R Ar retrycnt
 Set the retry count for doing the mount to the specified value.