block-device-added event for upstart not emitted

Bill Nottingham notting at redhat.com
Tue Apr 14 16:09:12 UTC 2009


Tomasz Torcz (tomek at pipebreaker.pl) said: 
>   while packaging hdapsd I've created upstart script reacting on
> block-device-added event, as I found over the internet that this
> is event should be emitted. But on Fedora rawhide it isn't. I
> believe someting like following is missing from udev rules:
> 
> ACTION=="add",    SUBSYSTEM=="block", KERNEL=="*[!0-9]", 
> RUN="/usr/sbin/initctl emit block-device-added %k -eDEVNAME"
> 
>   Is this deliberate omission, just bug, or is list of common events not
> yet established?

There's no standard/list of common events; it's all distribution
specific.

Bill




More information about the devel mailing list