Re: Things I wish I'd known about Inotify

From: Stef Bon
Date: Fri Apr 04 2014 - 16:24:17 EST


2014-04-03 17:38 GMT+02:00 Eric W. Biederman <ebiederm@xxxxxxxxxxxx>:

>
> Other pitfalls.
>
> Inotify only report events that a user space program triggers through
> the filesystem API. Which means inotify is limited for remote
> filesystems

I'm working on enabling fsnotify for fuse. The sending of a watch/mask
to userspace works, and the fuse filesystem can forward the watch to
it's backend.
Reporting delete events back to the kernel works with the help of one
existing call fuse_lowlevel_notify_delete. There is no existing call
to report a create, so I'm working on that.

( at this moment I'm trying to enable the most simple events : delete
and create of an entry in a directory which is watched).

Stef Bon
--
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/