I've gotten autofs working for NIS but it won't mount off the root
directory... I thought maybe you could help if you do anything like this...

I've been told to install "autofs" for automounting...
did that, have NIS running and the machine can do a ypcat auto.direct...
after installing the rpm for Red Hat 5.0, it starts up with:
/usr/sbin/automount /- yp auto.master soft

Here's the automount tables on the NIS master running DEC OSF/1:
auto.master:
/-      auto.direct     -soft            (I get the same problem if I put
/tmp_mnt here)


auto.direct:
/apps   -soft,ro        host:/apps
/home   -soft,rw        host:/home
/home1  -soft,rw        host:/home1
/home2  -soft,rw        host:/home2
/home3  -soft,rw        host:/home3


I get the following messages in /var/log/messages:
Jun  4 09:31:39 exciton automount[315]: attempting to mount entry /-/apps
Jun  4 09:31:39 exciton automount[736]: lookup(yp): lookup for apps failed:
No such key in map
Jun  4 09:31:42 exciton automount[315]: attempting to mount entry /-/apps
Jun  4 09:31:42 exciton automount[737]: lookup(yp): lookup for apps failed:
No such key in map
(because the mount point is /-, it's trying to find entries called
"/-/apps" or "apps" to mount at /-/apps)

If I add a line in auto.direct with:
/apps   -soft,ro     host:/apps
it will mount, but only under the mount point directory, not under the root
directory, which is what I want!

The /- in auto.master, at least in DEC OSF/1 4.0b, allows you to automount
/apps at the top level.  How can I do this with linux?


TIA!
Dan 
--------------------------------------------------------------------------
Dan Kirkpatrick                        [EMAIL PROTECTED]
Systems Administrator/Manager
Department of Physics
Syracuse University, Syracuse, NY

http://www.phy.syr.edu            Fax: (315) 443-9103
Personal: http://www.geocities.com/heartland/6540/
--------------------------------------------------------------------------


-- 
  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