From: Ian Kent Subject: Re: include a master file: where does the automounter look Date: Mon, 28 Apr 2008 17:04:07 +0800 Message-ID: <1209373447.3243.34.camel@raven.themaw.net> References: <48158BB4.3050008@bononline.nl> <1209372832.3243.23.camel@raven.themaw.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1209372832.3243.23.camel@raven.themaw.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: Stef Bon Cc: autofs@linux.kernel.org On Mon, 2008-04-28 at 16:53 +0800, Ian Kent wrote: > On Mon, 2008-04-28 at 10:32 +0200, Stef Bon wrote: > > Hello, > > > > when I read the manpage for auto.master (and other docs) I see that I > > can include another master file by doing: > > > > +auto.master > > > > The comment says that by doing so, the you can specify a master map > > which is found using > > nsswitch sources. > > What happens then? Where does it look then? > > If you have a line in /etc/nsswitch.conf like: > > automount: files nis > > it will look in /etc for auto.master (files) and try to connect to a nis > server and ask for auto.master. There's actually a bit more to it than that because of the possibility of different actions, such as continuing or returning when a source is found or not. Ian