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

_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to