Many thanks for the many, many replies I received. As of this posting,
here's who answered:
Anchi Mariel Feder Trevor Paquette
Raju Birger Wathne David Lee
Gary Franczyk Simon-Bernard Drolet Russ Poffengerger
Bismark Espinoza Dan Bell Jos van Wezel
Glenn Satchell Rod Henry Steve Ehrhardt
David Stewart Custavo Chaves
The solution I used was to change the /etc/rc.local (for SunOS) or
/etc/init.d/autofs (for Solaris) call to the automounter daemon. The
now looks like this:
automount -D APPSERVER=sunosserver && echo -n ' automount' (for SunOS)
/usr/lib/autofs/automountd -D APPSERVER=solarisserver > /dev/console
2>&1 (for Solaris)
In the auto.direct table, I now have
After rebooting the systems, this now works. Many thanks to Anchi for
suggesting this way.
One suggestion I received said to use different auto.master maps on the
two different types of machines, with each auto.master pointing to a
auto.direct file. I didn't like this one because it required maintaining
several auto.master files on many machines.
Someone else suggested AMD. I was under the impression that AMD and
were the same things. Feel free to correct me if I'm wrong here.
Another idea was to use a complex series of links, different for each
architecture. I discard this because it struck me that there must be a
Several people suggested using the automounter ARCH variable. I could
done this had I moved both sets of applications to the same server. Then
my auto.direct could have looked like:
This suggestion would have worked as well.
Other people mentioned the OSREL variable. I've been told by one
that OSREL isn't supported by the SunOS automounter. I haven't tried it
Another really good idea, which I almost used, was submitted by Steve
Ehrhardt. He suggested have the ypmake's Makefile create a copy of
auto.master, called auto_master, with appropriate links to the
Since SunOS doesn't use auto_master but Solaris does, the maps will be
used correctly. I started to implement this when I realized that my
boxes don't use auto_master, they use auto.master. I don't have
anywhere on my Solaris boxes and there is no such map in my domain.
Once again, thanks for the really good and fast responses!
Gilbert Laustsen Jung Associates Ltd.
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:56 CDT