]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - rules/60-persistent-storage.rules
rules: UDEV_DISABLE_PERSISTENT_STORAGE_RULES_FLAG property (#3714)
[thirdparty/systemd.git] / rules / 60-persistent-storage.rules
index dbf10b286f2485a9b909fbd6a2af21cf1afb1f0a..d7bbbf9866cf35be4e7db0ccccbd55f52bc79dd0 100644 (file)
@@ -4,6 +4,7 @@
 # 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*|scm*|pmem*", GOTO="persistent_storage_end"