Monitoring filesystems events with inotify on Linux.