Skip to content
Vratislav Podzimek edited this page Apr 25, 2017 · 2 revisions

Monitoring storage-related events

Once there is a source of storage-related event reports (e.g. as proposed in this blog post), UDisks2 shall provide a DBus API and mechanisms necessary for monitoring of such events.

There are (at least) two possible ways to implement such functionality:

  1. all block devices will have a special "Event" signal that would provide data from the report
  2. there would be a special EventMonitor object that would allow clients to subscribe to (sub)sets of events (per type, device, severity,...).

The option 2. looks like a more versatile solution, but there may be technical limitations preventing it from being implemented.

Clone this wiki locally