the following change is sitting out at github, to add kqueue support for more file operations: https://github.com/dmatveev/libinotify-kqueue/blob/master/patches does anyone have reasons why we shouldn't import this change. libinotify is now a port and could use these.