i made a change to the start up script so that the automounter can
actually get information for nis indirect maps. changes are as follows.
but first a question. do you know if the automounter in linux knows
how to deal with wild cards? in soloars you can have the following:
somedir somehost:/somelocation
* someotherhost:/users/&
where "*" is the dir that you try to cd into and & is the directory that
is mounted. this helps you from having to specify every user in the
home map.
from:
/usr/bin/ypcat -k "$map" 2> /dev/null | sed -e '/^#/d' -e '/^$/d'
to:
/usr/bin/ypcat -k "$map" 2> /dev/null | sed -e '/^#/d' -e '/^$/d'| sed 's/_/
\./g'
sun secondary maps are of the form:
somedir some_map
the some_map has to be changed to some.map in order the mount points
defined in some_map can be mounted.
_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs
