IT lexicon › Infra & Ops › Node monitor (BeOS)

Node monitor (BeOS)

Infra & Ops På svenska → Updated: 2026-11-09

The BeOS mechanism for being told when a file or directory changes — well before Linux got inotify.

With watch_node() a program asks to be notified when something happens to a node: it is created, moved, deleted, gains attributes or changes size. Events arrive as BMessages with the code B_NODE_MONITOR in the program's normal message loop, so no dedicated thread or polling is needed. A sibling call watches volumes being mounted and unmounted.

This is why Tracker windows refreshed themselves live back in the mid-1990s, and together with BFS attributes it let the file system behave like a living database. Linux got inotify only in 2005 and macOS FSEvents in 2007; the closest relative in the BSD world is kqueue.

← Back to the lexicon