File:  [NetBSD Developer Wiki] / wikisrc / projects / project / kqueue-dirnotify.mdwn
Revision 1.2: download - view: text, annotated - select for diffs
Mon Apr 15 21:31:52 2013 UTC (12 months, 1 week ago) by mspo
Branches: MAIN
CVS tags: HEAD
add a link to ipnotify wikipedia and to windows directory notification

[[!template id=project

title="Add directory notify to kqueue"

contact="""
[tech-pkg](mailto:tech-kern@NetBSD.org)
"""

category="kernel"
difficulty="medium"

description="""
Right now kqueue, the kernel event mechanism, only attaches to individual
files.  This works great for sockets and the like but doesn't help for a
directory full of files.

The end result should be feature parity with linux's inotify (a single dir worth
of notifications, not necessarily sub-dirs) and the design must be good enough
to be accepted by other users of kqueue: osx, freebsd, etc

[inotify on wikipedia](http://en.wikipedia.org/wiki/Inotify)
Another example API is the [windows event api](http://msdn.microsoft.com/en-ca/library/windows/desktop/aa365465.aspx)

I believe most of the work will be around genfs, namei, and vfs.
"""
]]

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb