]> sourceware.org Git - lvm2.git/commit - WHATS_NEW_DM
Fix udev rules to handle spurious events properly.
authorPeter Rajnoha <prajnoha@redhat.com>
Wed, 23 Jun 2010 17:00:32 +0000 (17:00 +0000)
committerPeter Rajnoha <prajnoha@redhat.com>
Wed, 23 Jun 2010 17:00:32 +0000 (17:00 +0000)
commitacc70bce8689ee50b1bf6700f1348067223a156b
tree2237b9fab54862dc001b209c88b29273b542bce8
parentbe2d9395c7d423d6ea21e60195b0b5ec772bc299
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.
WHATS_NEW_DM
udev/10-dm.rules.in
This page took 0.03164 seconds and 5 git commands to generate.