On Mon, May 24, 2010 at 20:08, Alan Ott <alan@signal11.us> wrote:
Enumeration and monitoring should be in one example, I guess -- that's
what people are supposed to do today. Before starting to enumerate,
software should subscribe to events. This makes the handle
coldplug/hotplug properly, makes it handle duplicate events properly,
and all other sorts of cases, which software should handle today.
Also "change" is not necessarily a "property" change, it can be any
event, that a device has changed its state, it will only in a few
cases be visible in /sys. The most prominent example is "media
changed" event for SCSI devices, and we forward them to the block
device. There will never change anything in /sys before or after the
event.
Kay
--