Fanotify mv/rename?

From: Axel Kittenberger
Date: Sun Nov 28 2010 - 05:32:07 EST


Hi!

I was just installing 2.6.37-rc3 to incorporate the brand new, cool
looking fanotify interface into Lsyncd,
http://code.google.com/p/lsyncd/ . It uses so far inotify to
continously rsync changes of a local directory tree to backups/live
mirrors, etc. Fanotify looked very nice at first, since inotify with 1
watch per dir can eat up quite some memory when watching *hugh*
directory trees. Additionally we made also Gedankenexperiments if
fanotifies Deny feature could be used for race-condition-safe
Master-Master synchronizations. But Alas, there are no move/rename
events in fanotify! I know it was designed with the virus shields in
mind and not observing/sync tools like Lsyncd, but I really hoped it
would be the (better?) Linux way of OSX' /dev/fsevents which does
feature mv's. Are there are any plans for MOVE events? Don't want to
add pulling other peoples carpet, but I'd rather wanted to see it
delayed yet another version with moves than ever without.

Kind regards,
Axel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/