Filesystem event manager
Note:
This manager was inadvertently omitted from QNX SDP 6.6.
You can get it from Technical Support.
Syntax:
fsevmgr [options] [command]
Options:
- -d
- Enable debugging output on stdout.
- -k size
- The size of each mailbox event queue, in kibibytes (default: 64 KB).
- -m
- 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.
- -y
- Suppress the notification of the event manager load.
- command
- A specific command to execute; one of the following:
- -c id,string
- Insert an event into the event manager queue.
- -j
- Display statistics.
- -p
- Poll the event manager and display the output on standard output.
- -r
- Display the primary event queue on standard output.
- -u
- Notify filesystems to resynchronize themselves with the event manager.
Description:
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:
- /dev/fsnotify
- Used by the inode notify system as a source of
inotify_event
structures; see
inotify_init()
in the C Library Reference.
- /dev/fsevents
- 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.