Index | Thread | Search

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

Download raw body.

Thread
First and foremost, ignore this until well after the release
and things settle down a bit (I hope it's not always crazy).
Just trying to keep the ideas grouped together for later.

This is just another variation to consider.
For consistency with "man 8 mount" -o options,
move "Same as" to before the description.


--- sbin/mount_nfs/mount_nfs.8	Thu Nov  9 13:47:27 2023	1.41
+++ sbin/mount_nfs/mount_nfs.8	Fri Apr 24 13:54:22 2026
@@ -163,9 +163,51 @@
 .Ar num
 seconds.
 The default is 5 seconds.
+.It Cm bg
+The same as
+.Fl b ;
+Keep trying mount in background.
+.It Cm conn
+The same as
+.Fl c ;
+For UDP, do not do a connect.
+.It Cm dumbtimer
+The same as
+.Fl d ;
+Turn off dynamic estimator.
+.It Cm intr
+The same as
+.Fl i ;
+Make the mount interruptible.
+.It Cm mntudp
+The same as
+.Fl U ;
+Force mount protocol to use UDP.
+.It Cm nfsv2
+The same as
+.Fl 2 ;
+Use NFS version 2 protocol.
+.It Cm nfsv3
+The same as
+.Fl 3 ;
+Use NFS version 3 protocol.
 .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
+The same as
+.Fl l ;
+Use "readdir plus" RPC.
+.It Cm resvport
+Use a reserved socket port number (default).
+.It Cm soft
+The same as
+.Fl s ;
+A soft mount.
+.It Cm tcp
+The same as
+.Fl T ;
+Use TCP instead of UDP.
 .El
 .It Fl R Ar retrycnt
 Set the retry count for doing the mount to the specified value.