On Fri, Jul 26, 2013 at 01:26:32PM +0000, Christian Weisgerber wrote:
> Lars Engblom <[email protected]> wrote:
> 
> > I have been checking, the bg option is not mention in fstab(5), mount(8) 
> > and mount_nfs(8). Please update the manual pages together with the faq.
> > At this moment, there is no way anyone could figure it out by themselves.
> 
> -b in mount_nfs(8) is hard to miss.
> 
> -- 
> Christian "naddy" Weisgerber                          [email protected]
> 

But I think the mapping from command line options to fstab(5)/-o option
names should be documented. At least I can't find such verbiage.

Probably not going to make 5.4, but perhaps something like the diff
below.

.... Ken

Index: mount_nfs.8
===================================================================
RCS file: /cvs/src/sbin/mount_nfs/mount_nfs.8,v
retrieving revision 1.39
diff -u -p -r1.39 mount_nfs.8
--- mount_nfs.8 6 Jun 2009 20:58:50 -0000       1.39
+++ mount_nfs.8 26 Jul 2013 14:21:09 -0000
@@ -163,9 +163,39 @@ Cache file attributes for at least
 .Ar num
 seconds.
 The default is 5 seconds.
+.It Cm bg
+Equivalent to
+.Fl b .
+.It Cm conn
+Equivalent to
+.Fl c .
+.It Cm dumbtimer
+Equivalent to
+.Fl d .
+.It Cm intr
+Equivalent to
+.Fl i .
+.It Cm mntupd
+Equivalent to
+.Fl U .
+.It Cm nfs2
+Equivalent to
+.Fl 2 .
+.It Cm nfsv3
+Equivalent to
+.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
+Equivalent to
+.Fl l .
+.It Cm soft
+Equivalent to
+.Fl s .
+.It Cm tcp
+Equivalent to
+.Fl T .
 .El
 .It Fl R Ar retrycnt
 Set the retry count for doing the mount to the specified value.

Reply via email to