Autofs help

Rick Wagner wagnerric at condor.cxo.cpqcorp.net
Thu Aug 11 20:44:50 UTC 2005


On Thursday 11 August 2005 11:03 am, Louis Lagendijk wrote:
> On Wed, 2005-08-10 at 17:48 -0600, Rick Wagner wrote:
> > I need to run some scripts on my FC4 system, which will access NFS shares
> > which will vary from run to run.
> >
> > They (the script writers) tell me I need to install amd on my system.  I
> > like my system the way it is, and would rather not replaces the standard
> > FC4 autofs with amd.  So I need to try to  change the amd configuration
> > files to something autofs will use.
> >
> > The scripts assume /net as the base mountpoint.  The amd amd.net file
> > looks like:
> >
> > /defaults fs:=${autodir}/${rhost}/root/${rfs};opts:=nosuid,nodev
> > *       rhost:=${key};type:=host;rfs:=/
> >
> >
> > What it appears to do is allow the scripts to access a file in the form:
> >
> > /net/<host>/<export>/path-to-file
>
> Rick, this is really simple: enable the auto.net in the auto.master
> file. This will automagically do what you need. auto.net is already
> configured as you need.

Cool!  I looked at auto.net, but it was not clear to me that's what it does.  

Tried it!  Works so far.  Thanks Louis!

	--rick




More information about the fedora-list mailing list