summaryrefslogtreecommitdiff
path: root/src/grp-udev/rules/60-persistent-storage.rules
diff options
context:
space:
mode:
Diffstat (limited to 'src/grp-udev/rules/60-persistent-storage.rules')
-rw-r--r--src/grp-udev/rules/60-persistent-storage.rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/grp-udev/rules/60-persistent-storage.rules b/src/grp-udev/rules/60-persistent-storage.rules
index 408733915c..d7bbbf9866 100644
--- a/src/grp-udev/rules/60-persistent-storage.rules
+++ b/src/grp-udev/rules/60-persistent-storage.rules
@@ -4,9 +4,10 @@
# scheme based on "Linux persistent device names", 2004, Hannes Reinecke <hare@suse.de>
ACTION=="remove", GOTO="persistent_storage_end"
+ENV{UDEV_DISABLE_PERSISTENT_STORAGE_RULES_FLAG}=="1", GOTO="persistent_storage_end"
SUBSYSTEM!="block", GOTO="persistent_storage_end"
-KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*", GOTO="persistent_storage_end"
+KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*|scm*|pmem*", GOTO="persistent_storage_end"
# ignore partitions that span the entire disk
TEST=="whole_disk", GOTO="persistent_storage_end"