On Fri, 18 Feb 2005, Dan Stromberg wrote:

On Fri, 2005-02-18 at 12:09 +0800, Ian Kent wrote:

And please include the contents of your maps!

-Jeff


Short answer is no.

Here are the maps we use on Solaris 9.  Should they work the same way on
RHEL 3?

autoinst-strombrg> cat /etc/auto_dcslib
/dcs -ro
  ^^^^
Single level direct mount entries don't yet work.

What if we set up indirect mounts for /foo/dcs and /foo/dcslib, and then had symlinks from /dcs and /dcslib?

That should work fine.


dcslib1.nacs.uci.edu,dcslib2.nacs.uci.edu,dcslib3.nacs.uci.edu:/dcspdb/sun4-5
/dcslib -ro
dcslib1.nacs.uci.edu,dcslib2.nacs.uci.edu,dcslib3.nacs.uci.edu:/dcspda

autoinst-strombrg> cat /etc/auto_master
# Master map for automounter
#
+auto.master
/net            -hosts          -nosuid,nobrowse
#/home          auto_home       -nobrowse
/xfn            -xfn
/-             auto_direct
^^^^^^^^^^^ Don't you mean auto_dcslib?

Apologies. I got these maps from a system on which they were only vestigial. Here are the maps from a system that's actually doing this :) :

data-strombrg> cat /etc/auto_dcslib
/dcs -ro
dcslib1.nacs.uci.edu,dcslib2.nacs.uci.edu,dcslib3.nacs.uci.edu:/dcspdb/sun4-5
/dcslib -ro
dcslib1.nacs.uci.edu,dcslib2.nacs.uci.edu,dcslib3.nacs.uci.edu:/dcspda

data-strombrg> cat /etc/auto_master
# Master map for automounter
#
+auto.master
/net            -hosts          -nosuid,nobrowse
#/home          auto_home       -nobrowse
#/xfn           -xfn
/- auto_dcslib
/- auto_dcs


Your hosts map won't work. It will be ignored. You can use the auto.net program map in the distribution to give similar functionality.








_______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to