> > What I would like to know, dows autofs ignore safely this map entry so
> > that we can use the same maps for all hosts, or may it become
> > confounded, so that we need at least a special auto.master for Linux
> > hosts ?
>
> It should just ignore it.
It doesn't.
However, I know in RedHat an attempt was made to ignore it
in the initialization script. Unfortunately, there is a bug in this
script. The following is a fix:
--- /etc/rc.d/init.d/autofs.orig Fri Apr 9 21:32:03 1999
+++ /etc/rc.d/init.d/autofs Wed May 5 11:27:10 1999
@@ -82,19 +82,19 @@
#
# Check for YellowPage maps to be loaded
#
if [ -e /usr/bin/ypcat ] && [ `ypcat -k auto.master 2>/dev/null | wc -l` -gt 0 ]
then
ypcat -k auto.master | (
while read dir map options
do
if [ ! -z "$dir" -a ! -z "$map" \
- -a x`echo "$map" | cut -c1` != 'x-' ]
+ -a x`echo "$dir" | cut -c2` != 'x-' ]
then
map=`echo "$map" | sed -e 's/^auto_/auto./'`
if echo $options | grep -- '-t' >/dev/null 2>&1 ; then
mountoptions="--timeout $(echo $options | \
-------------------------------------------------------------------------
I haven't looked at SUSE. Maybe you can do something similar there.
Brad Garcia
___/ __ / __ / ___/ "I'm very good at being concise
__/ / / / _/ __/ at the expense of information"
_/ ____/ _/ _| ____/ - me