On Fri, 21 Nov 2003, H. Peter Anvin wrote:

> 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.

Like the netid (or whatever it's called in NIS).

Not sure about LDAP.
I seem to remember some timestamps live in each entry. I'll need to check.

> 
> (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 :)

A hard one I think.

I read the entire map to often as it is so I need to come up with 
something.

This is shaping up to be quite an interesting proprosal.

-- 

   ,-._|\    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

Reply via email to