1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 10:25:13 +03:00
lvm2/udev
Peter Rajnoha 0d408f0c43 Disable udev rules on change event with DISK_RO=1.
There's a new change udev event generated since kernel 2.6.32 that
notifies userspace about a change in read-only attribute for block
devices (with DISK_RO=1 environment variable set).

We need to detect this and disable the rule application so the
meaning of this change event is not interchanged with the regular
change event used while resuming/renaming DM devices.

If there's anybody awaiting this notification in foreign rules,
he can still check for this env var and do the appropriate actions
separately.
2009-12-07 12:03:47 +00:00
..
10-dm.rules.in Disable udev rules on change event with DISK_RO=1. 2009-12-07 12:03:47 +00:00
11-dm-lvm.rules More cleanup in udev rules: 2009-11-01 18:01:31 +00:00
12-dm-permissions.rules add copyright lines 2009-10-26 22:42:07 +00:00
13-dm-disk.rules Remove 'last_rule' from udev rules. 2009-11-13 12:33:27 +00:00
95-dm-notify.rules More cleanup in udev rules: 2009-11-01 18:01:31 +00:00
Makefile.in Several changes to udev support code: 2009-10-26 14:29:33 +00:00