Index | Thread | Search

From:
obsd@mulh.net
Subject:
Mount NFS specific options
To:
tech@openbsd.org
Date:
Wed, 22 Apr 2026 12:15:46 -0400

Download raw body.

Thread
  • obsd@mulh.net:

    Mount NFS specific options

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 11 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 11:44:15 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 retransmit.  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 the NFS Version 2 protocol.  Same as
+.Fl 2 .
+.It Cm nfsv3
+Use the 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.