According to the manpage of fanotify, « there is no support for create,
delete, and move events, » which would make it useless for our scenario.

What kind of drawbacks are you talking about in the case of inotify? The
possible race condition that [1] attempts to solve?

Are there any build incantations needed to use glib?

Thanks,
 David

[1]
https://mail.gnome.org/archives/dashboard-hackers/2004-October/msg00022.html

On 02/07/14 15:07, Mike Hommey wrote:
> I don't know what the windows and osx file monitoring APIs offer. If
> they have the same kind of drawbacks as inotify for recursive directory
> monitoring, then it's probably fine to go with inotify, in which case
> glib is the best choice, as we already depend on it.
> 
> Otherwise, I'd go with a little shim around the fanotify system calls.
> There is fanotify support since glibc 2.13, but I'm not sure that's old
> enough for all the systems we support. (our current glibc dependency is
> on a version >= 2.7, fwiw)
> 
> Mike
> 


-- 
David Rajchenbach-Teller, PhD
 Performance Team, Mozilla

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to