Sign in

← Software

inotify(7) Linux file-watch API

nameinotify(7) Linux file-watch API
recommendationinclude
in solnixno
categorykernel
originomnios
smartos
kindkernel
summaryKernel driver and libc wrappers (inotify_init, inotify_add_watch, inotify_rm_watch) implementing the Linux inotify API on top of illumos file event monitoring. lx maps the Linux syscalls onto it, and native programs (editors, build tools, file syncers) can use it directly instead of port_associate.
whyCheap and directly useful to the Nix userland: many nixpkgs programs have an inotify code path and only a degraded polling fallback on illumos. Also an lx prerequisite.
upstream statusNot in illumos-gate at the pin ac45d71fc2 or on master 2026-11-16 (recursive tree diff). OmniOS made it 'a first-class citizen' in r151030. eventfd, timerfd and signalfd are already in the pin; inotify is not.
effortsmall
riskLow: self-contained driver (Joyent + MathWorks copyright). Native ports that detect inotify may change behaviour, so test the nixpkgs packages that probe for it.
licenseCDDL-1.0
source urlhttps://github.com/TritonDataCenter/illumos-joyent/blob/380e8df2d36bc83f3f7d74259ee0caacb507afbb/usr/src/uts/common/io/inotify.c
sourceshttps://github.com/omniosorg/illumos-omnios/blob/6c1de855b3c1da5200236f83e538b8f449f4ed21/usr/src/uts/common/io/inotify.c
https://smartos.org/man/7/inotify
https://github.com/TritonDataCenter/illumos-joyent/blob/380e8df2d36bc83f3f7d74259ee0caacb507afbb/usr/src/uts/common/io/inotify.c
https://github.com/omniosorg/omnios-build/blob/r151030/doc/ReleaseNotes.md

What Solnix has done

No decision yet: open for ranking.

Objections (0)

None.

Sign in to object to this item.