On Fri, Dec 21, 2018 at 06:26:54PM +0100, Solene Rapenne wrote:

> Otto Moerbeek <[email protected]> wrote:
> > On Thu, Dec 20, 2018 at 09:31:45AM +0100, Landry Breuil wrote:
> > 
> > > On Thu, Dec 20, 2018 at 09:26:33AM +0100, Solene Rapenne wrote:
> > > > Hi
> > > > 
> > > > fstab(5) has an example for a nfs mountpoint using the "intr" option.
> > > > 
> > > > That option isn't documented in mount(8) or mount_nfs(8) and in fact, 
> > > > I've not
> > > > been able to find it anywhere. What is it doing?
> > > 
> > > I think it's the fstab shortcut for -i option in mount_nfs(8).
> > > 
> > 
> > Looking at mntopt mopts[] in mount_nfs.c there are way more nfs specifc
> > options that are only documented as getopt flags and not as -o flags. 
> > 
> >     -Otto
> 
> would it be accepted to add the "named options"  in mount_nfs(8), something
> like this diff?
> 
> this is a quick draft

Yes, but list them all and keep 'm sorted,

        -Otto

> 
> Index: mount_nfs.8
> ===================================================================
> RCS file: /data/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       21 Dec 2018 17:24:53 -0000
> @@ -163,6 +163,9 @@ Cache file attributes for at least
>  .Ar num
>  seconds.
>  The default is 5 seconds.
> +.It Cm intr
> +This option is equivalent as using the flag
> +.Fl i .
>  .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.

Reply via email to