Filesystem event manager

Note: This manager was inadvertently omitted from QNX SDP 6.6. You can get it from Technical Support.


fsevmgr [options] [command]

Runs on:

QNX Neutrino


Enable debugging output on stdout.
-k size
The size of each mailbox event queue, in kibibytes (default: 64 KB).
Allow multiple events to be returned per read().
-n fsevent_name
The name for fsevents to register (default: /dev/fsevents).
-s size
The size of the master event queue, in kibibytes (default: 100 KB).
-U uid:gid
Switch to the given user ID and group ID once running.
-w time
The number of milliseconds to delay before notifying io-blk instances.
Suppress the notification of the event manager load.
A specific command to execute; one of the following:
-c id,string
Insert an event into the event manager queue.
Display statistics.
Poll the event manager and display the output on standard output.
Display the primary event queue on standard output.
Notify filesystems to resynchronize themselves with the event manager.


The fsevmgr manager gathers events from the block I/O (io-blk.so) system and sends them to clients that want to be notified of changes to a filesystem.

If you specify a command argument, fsevmgr completes the requested operation, and then exits immediately. If you don't specify a command, fsevmgr runs in the background.

By default, fsevmgr registers these interfaces in the system namespace:

Used by the inode notify system as a source of inotify_event structures; see inotify_init() in the C Library Reference.
Used by clients to read events from, in fsev_t structures.

The fsevmgr manager uses "mailboxes" to manage event queues. It creates one mailbox to serve as the master event queue, and then creates a mailbox for each open() request from a client.