inotify features

Marc Lehmann schmorp at schmorp.de
Wed Feb 18 23:56:03 CET 2009


On Tue, Feb 17, 2009 at 06:30:16PM -0600, Garrett Smith <g at rrett.us.com> wrote:
> The stat notify does tell you when a file was created, but not which
> file. With very large directories, it becomes very expensive to sort
> through what changed.

Absolutely... Unfortunately, I see no way to make somethign that a) works
portably (by emulation) and b) can use inotify semantics.

Also, I guess, even a directory comparison function + associated data
structures might result in more code than libev itself :)

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      pcg at goof.com
      -=====/_/_//_/\_,_/ /_/\_\



More information about the libev mailing list