LVM2 ./WHATS_NEW_DM udev/10-dm.rules.in
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: prajnoha at sourceware.org 2010-06-23 17:00:33
Modified files:
. : WHATS_NEW_DM
udev : 10-dm.rules.in
Log message:
Fix udev rules to handle spurious events properly.
We can use DM_UDEV_PRIMARY_SOURCE_FLAG to identify the spurious events and use it as an indication that the device has already been activated before (and hence we can find this property in udev database).
WARNING: This change requires udev startup script to preserve udev database from initrd. All the information stored there during activation of devices is important for the initial "udevadm trigger --action=add" call that is used in udev startup script. If not done this way, udev startup script needs to define DM_UDEV_PRIMARY_SOURCE_FLAG=1 property for any ADD events it uses.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW_DM.diff?cvsroot=lvm2&r1=1.379&r2=1.380
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/udev/10-dm.rules.in.diff?cvsroot=lvm2&r1=1.8&r2=1.9
WHATS_NEW_DM +1 -0
@@ -1,5 +1,6 @@ Version 1.02.50 - =============================== + Fix udev rules to handle spurious events properly. Allow use of devmapper header file in C++ mode. Version 1.02.49 - 4th June 2010
udev/10-dm.rules.in +24 -18
66 lines not on this page · raw message