2014-06-11 00:41:20 +00:00
|
|
|
# do not edit this file, it will be overwritten on update
|
|
|
|
|
2018-01-18 18:43:40 +00:00
|
|
|
ACTION!="remove", SUBSYSTEM=="block", KERNEL=="loop*", ATTR{loop/backing_file}=="*/appvms/*/*.img*|*/vm-templates/*/*.img*", ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}="1", ENV{UDEV_DISABLE_PERSISTENT_STORAGE_RULES_FLAG}="1"
|
2017-09-12 02:22:25 +00:00
|
|
|
ACTION!="remove", SUBSYSTEM=="block", KERNEL=="xvd*", ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}="1", ENV{UDEV_DISABLE_PERSISTENT_STORAGE_RULES_FLAG}="1"
|
2014-06-11 00:41:20 +00:00
|
|
|
# ENV{DM_NAME} not available yet
|
2015-02-01 03:05:05 +00:00
|
|
|
# Template VM disks
|
2014-06-11 00:41:20 +00:00
|
|
|
ACTION!="remove", SUBSYSTEM=="block", ATTR{dm/name}=="snapshot-*", ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}="1"
|
2014-07-04 02:28:50 +00:00
|
|
|
ACTION!="remove", SUBSYSTEM=="block", ATTR{dm/name}=="origin-*", ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}="1"
|
2015-02-01 03:05:05 +00:00
|
|
|
# kpartx used for creating empty volatile.img, udevd tries to access the device
|
|
|
|
# and prevent kpartx from removing them
|
|
|
|
ACTION!="remove", SUBSYSTEM=="block", ATTR{dm/name}=="loop*p*", ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}="1"
|