[dm-devel] [PATCH 1/3] Send KOBJ_ADD event after dm resume ioctl.

Peter Rajnoha prajnoha at redhat.com
Fri Mar 19 13:24:22 UTC 2010


On 03/19/2010 10:24 AM, Kay Sievers wrote:
> No, that's what "change" is for, and we already have these "change"
> events for dm. Udev does not care if the device is ready or not, it
> synchronizes /sys and /dev, and that works just fine with "change"
> events.

CHANGE events, not quite... We can't even rely on these.

Just to mention, there's also a CHANGE event generated when
read-only flag is set for a device (this is not managed by
device-mapper of course). This one is generated even before
the actual CHANGE event that is generated when DM device is
ready to be used.

Peter




More information about the dm-devel mailing list