I'm running RH5 and trying to use automount.  It seems to work fine for entries 
in auto.master with type "file" but not when it is asked to start up with a 
type of "yp".  

autofs reads the yp auto.master map fine.  The problem is that when it launches 
a copy of automount with one of the entries in the yp auto.master map, nothing 
happens.  From reading autofs I find that what should happen is something like:

    echo "/usr/sbin/automount /home yp auto.home" | sh

Even if I do this from the command line, nothing happens.  So, I tried the 
following:

    ypcat -k auto.home > /etc/auto.home
    echo "/usr/sbin/automount /home file /etc/auto.home" | sh

Now there is a copy of automount running serving /home, and automounting to /
home works fine.  

I'd rather have automount work on a yp map instead of a file.  Is this 
possible?


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to