Nalin Dahyabhai wrote:
>
> On Mon, Jun 05, 2000 at 11:53:14AM -0700, Rich McClellan wrote:
> > The point made by Gooch, and an *extremely* good one because we want Linux
> > to behave like the other Unices out there, is that the file nsswitch.conf
> > should specify the behavior of map lookups, not some ad hoc check for a
> > file.
>
> Okay, I'm probably just being very dense, but I'm having trouble figuring
> out how a single line in nsswitch.conf is going to work if you're using
> multiple mount directories.
>
The question is where auto.master map comes from (NIS or /etc).
> For example, say I've set up automounting on both /home and /mnt. The
> auto.master map looks like this:
>
> /mnt /etc/auto.mnt --timeout 60
> /home/devel yp:auto.home --timeout 60
>
> Unless you're just talking about deciding which auto.master map to look in
> first, I can't see how the automount: line in nsswitch.conf can be of any
> use here.
That's exactly what we are. I really want to maintain allowing multiple
namespaces at the same time.
> And if you're looking at both (which I think we all agree is a good thing),
> the only place the order makes a difference is if the maps conflict, and
> the only good reason to set up a workstation this way is to make entries in
> the local file override the NIS map's entries ("files nis"). Otherwise,
> you wouldn't bother putting them in the local file in the first place.
-hpa