From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: making the mountpoints visible all the time (fwd) Date: Fri, 21 Nov 2003 11:56:31 -0800 Sender: autofs-bounces@linux.kernel.org Message-ID: <3FBE6DEF.5020202@zytor.com> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: autofs-bounces@linux.kernel.org Content-Type: text/plain; charset="us-ascii" To: Ian Kent Cc: autofs mailing list Ian Kent wrote: > > The above works that way without the update. > > I'm not sure that a periodic update really gets us much. Since in most > sites maps change infrequently. > > On the other hand at work we run a cron every night on all our machines to > trigger an update of the maps. > > So I'm on the fence here? > Oh yes, a lot of map types support querying "has a change occurred" (usually in the form of a generation number, or in the case of a file map, the mtime.) This absolutely should be taken advantage of. (For a program map, this complicates the protocol somewhat. I don't know necessarily of the best way to deal with that. It needs some thinking :) -hpa