Uwe Pachler - 2011-06-10

Ok, here's some news on this issue: I had a conversation with people on the linux-fsdev mailing list [1], and it appears that fanotify, the kernel subsystem that inotify and dnotify are based (at least as of recently), does indeed support a flag that indicates whether a rename was local or foreign.

In the conversation, a developer indicated to use dnotify (the inotify predecessor), as it exposes this flag (inotify does not). However, dnotify is the inferior API and actually has some severe issues [2]

So in conclusion, I'll be looking at hacking inotify in the Linux kernel to expose said flag; this will not only benefit jpathwatch but everyone else as well.

Cheers,

Uwe

[1] http://marc.info/?l=linux-fsdevel&m=130754450101335&w=2
[2] http://www.kernel.org/pub/linux/kernel/people/rml/inotify/README