[email protected] wrote: >>> We would like to continue to disable direct mounts. The other option is >>> to use a different "auto.master" w/o the auto.direct, but we would like >>> to avoid that. >> >> Why do you want to disable direct mounts? > To solve our /usr/local issue. > > Our NIS master is a Solaris box. We have an entry in auto.direct for > /usr/local that currently points to our Sun Solaris binaries. > The auto.direct is included in our auto.master > > We are considering a move to autofs 5.x as part of our OS upgrade. We > could create a separate auto.master.lnx that does not have auto.direct > in it, but we prefer not to do that. > > "Solving the /usr/local/ puzzle" as the NIS and NFS book suggests is > something we can do, I am just not sure if we can do that right away.
That is probably the best solution. You can use built in macros in the mount location of your maps to achieve that. See autofs(5). > > So someway to disable auto.direct would be useful for us. You don't say if your maps are always from local files or some other source. > > Thanks. _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
