On Thu, 20 Nov 2003, H. Peter Anvin wrote: > Ian Kent wrote: > > > > To fit in with the existing framework I would need to require the entire > > map returned for a NULL key. > > > > That's correct. > > > > >>And of course autofs needs to deal with the consequences of the map > >>changing underneath it. > > > > I normally reread the map and try again on lookup failure. There is the > > HUP signal to do a manual map reread. > > > > A better option is probably to update periodically. You still need to > be able to handle query of a mount point that you don't know about > (might have appeared anew) or a mount point you thought exist not being > found.
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? -- ,-._|\ Ian Kent / \ Perth, Western Australia *_.--._/ E-mail: [EMAIL PROTECTED] v Web: http://themaw.net/ _______________________________________________ autofs mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/autofs