From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Moyer Subject: Re: Add mountpoints to mastermap dynamically. Date: Mon, 28 Apr 2008 10:36:55 -0400 Message-ID: References: <4815DC61.1080501@bononline.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4815DC61.1080501@bononline.nl> (Stef Bon's message of "Mon, 28 Apr 2008 16:17:05 +0200") 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 Stef Bon writes: > Hello, > > again a question. > > The construction I'm working on does add a mountpoint dynamically to an > existing map. The subject says you're adding a new entry to the master map. This sentence sounds like you're adding an entry to an existing map. The second should be caught automatically by the daemon, so no need to reload. > After added (first some checking the mountpoint is not already included) > a reload is > done with the running automount (HUP signal). The same after removing a > mountpoint. > > It works very good, but I'm wondering, is this the way to do this?? > Isn't there a autofsctl program??? You could do, 'service autofs reload' instead. Or maybe you should investigate direct maps. I'm not sure, since I know very little of your setup. Cheers, Jeff