On Thu, 30 Aug 2001, Tobias Burnus wrote:

> Stephen Walton wrote:
> > I use NIS to share auto.master (of course, I suppose).  I've done away
> > with direct mounts in the following way:  My auto.master NIS map contains
> > the line
> > /auto   /etc/auto.auto
> [...]
> > and the mounting host contains a symbolic link /data -> /auto/data
>
> It works good.
> But I really want to get rid of '/-/'. That is autofs should ignore the
> direct entry in auto.master instead of misinterpreting it.

I don't have a patch to do this, but the parsing is done by the
/etc/rc.d/init.d/autofs shell script, so I suppose you could add a line to
your local copy to skip /- lines.  I simply eliminated all my direct
mounts even on machines that supported them, and used the symbolic links
workaround everywhere.

Reply via email to