see other/test.scm for a quick example, the linux man page of inotify for the general workings of inotify http://www.kernel.org/doc/man-pages/online/pages/man7/inotify.7.html, and inotify.scm for a list of all exported bindings. to install you can execute exec/install with superuser rights. = notable bindings inotify-init creates a new inotify instance inotify-read read from an inotify instance, block until new events have occurred, and return a list of event vectors with fields as follows: index description 0 watch-descriptor (identifies a watched target) 1 mask (an integer encoding the events that happend) 2 name (if watching a directory the name of the affected file, otherwise false) 3 cookie (see inotify documentation) close an inotify instance by using "close" or "close-fdes". all event mask constants are exported with the same name as defined by inotify