On Wed, Sep 10, 2003 at 11:21:25AM +0200, Buchan Milne wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Bryan Whitehead wrote:
> 
> >
> > Thanks for the kick in the pants. Looks like autofs can do what I need.
> > Looks like this "feature" slipped in during 9.0 (or 8.2) and I didn't
> > notice.
> >
> > Now if only autofs would support direct mounts we'd be another step
> > closer to Solaris... ;)
> 
> Could you explain what it is/how it works?
> 

direct mounts are denoted in auto.master like:
/-      auto.direct     <options>

and /etc/auto.direct contains the absolute path and mount that belongs to it
like:

/home   <mount options> server:/local/home

whereas indirect mounts list a relative path:

auto master:
/home   auto.home       -nosuid 

auto.home:
simon   -rw     servera:/home/simon
*       -rw     serverb:/local/home/&

all entries in auto.home mount under /home (defined in auto.master)

Does that help?

Actually, I'm rather interested in autofs, because we have a mixed
Solaris/Mandrake environment with NIS/NFS. I tried autofs tables via NIS,
which worked well, except that a typical user tried to access a shared
directory under /home which was suddenly "gone"/invisible... I don't know
how to solve this yet (I want users to see all available mounts under /home)

Cheers

Simon

Reply via email to