Unix How-To: File Updates in Linux
itworld.com
itworld.com
Inotify is only present if your Linux-kernel is compiled with it turned on. If you want to use it in shell scripts there's inotify-tools (that's the Debian name anyway). Sadly GNU got their grubby fingers in and invented the stupid D-BUS.
In FreeBSD there's kqueue which does a similar job.
DBus is in RHEL and Ubuntu, that covers most Linux OSs.
DBus is a publish subscribe mechanism used as a kind of IPC, inotify is a way of registering interest in an inode to avoid having to do filly things like polling a file continually.
Not all Kernels are stock
USE="-dbus -hal"
and that's the way I likes it.