- dnotify
-
dnotify is a file system event monitor for the Linux kernel, one of the subfeatures of the fcntl call. It was introduced in the 2.4 kernel series[1]. It has been obsoleted by inotify, but will be retained for compatibility reasons.
Its function is essentially an extension to filesystems to notice changes to the filesystem, and report those changes to applications.
One major use is in desktop search utilities like Beagle, where its functionality permits reindexing of changed files without scanning the filesystem for changes every few minutes, which would be very inefficient. By being told that a file has changed directly by the kernel, rather than actively looking, Beagle and such utilities can achieve change-to-reindexing times of only about a second, with very small performance hits (dnotify therefore enables the use of such programs in a sensible manner; daemons are generally not accepted by distributors if they drain system performance noticeably to provide userland functionality.
Footnotes
- ^ Namely, in 2.4.0-test9.
See also
- File alteration monitor
- Gamin
- inotify, a dnotify replacement.
- The Documentation/filesystems/dnotify.txt file in the kernel source tree.
Categories:- Linux kernel features
- Linux stubs
Wikimedia Foundation. 2010.