Messages in this thread | ![/](/images/icornerl.gif) | | Date | Fri, 27 Mar 2009 13:02:43 +0000 | From | Al Viro <> | Subject | Re: Issues with using fanotify for a filesystem indexer |
| |
On Fri, Mar 27, 2009 at 01:47:23PM +0100, Alexander Larsson wrote:
> In order to write an app using the fanotify API satisfying the above > needs we would need the following events: > * the event queue overflowed, (you need to reindex everything) > * An inode was linked into the filesystem (creat, O_CREAT, > mkdir, link, symlink, etc) > * An inode was unlinked (unlink, rmdir, rename replaced existing file) > * An inode was moved in the filesystem (rename)
Erm... Just how would you represent and *order* the events? Note that "serialize all directory operations on given fs" is a non-starter...
| ![\](/images/icornerr.gif) |