how does one consult /etc/nfsmount.conf when NFS mounting?

Robert P. J. Day rpjday at crashcourse.ca
Mon Jan 4 16:03:44 UTC 2010


On Mon, 4 Jan 2010, Ed Greshko wrote:

> Robert P. J. Day wrote:
> >   undoubtedly a few more NFS-related questions, and here's one.  i
> > notice that the nfs-utils package supplies the conf file
> > /etc/nfsmount.conf.  so what exactly consults that file?
> >
> >   the man page for that file refers to nfs(5) and mount(8), but the
> > man page for "mount" makes no mention of that file, while the man page
> > for "nfs" reads:
> >
> > MOUNT CONFIGURATION FILE
> >        If  the  mount  command  is  configured to do so, all of the mount
> >        options described in the previous section can also  be  configured
> >        in  the /etc/nfsmount.conf file. See nfsmount.conf(5) for details.
> >
> >   if it's configured to do so?  and how does one do that, since the
> > mount command doesn't seem to refer to that file.  so how are these
> > things hooked together?
> >
> >
> I'll hazard a guess and say that if you issue a "mount" command with
> -t nfs then this file will be consulted.

  i'd hazard the same guess, but it would be nice if one was not
reduced to guessing with stuff like this.

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================




More information about the users mailing list