Autofs help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

The closest I could come up with for an auto.net is:

*	-nosuid,nodev	&:/

Where & substitutes for the host name (*).  But I can't get the export into 
the substitution.  So using the above, if I "ls /net/myhost/export/file", I 
get an error, and /var/log/messages says: "mount: myhost:/ failed, reason 
given by server: Permission denied".

Is what I need possible?  Or am I destined to install amd?  It appears that 
auto.net could be a script, but there is little I could find on what such a 
script should do.

Thanks, 
	--rick


BTW, don't try the form of "* -nosuid,nodev &", unless you like kernel panics.  
I assume this should be reported to kernel.org, but how do I capture the 
output of the panic to report it?


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux