chiark / gitweb /
rules: storage - whitelist partitioned MS & MMC devices
[elogind.git] / rules / 60-persistent-storage.rules
index 11240508a86c5cc69a62b55d8123a95e1987cea3..341ef9c07daf6770d3ca5171d44f42f3411e50df 100644 (file)
@@ -6,7 +6,7 @@
 ACTION=="remove", GOTO="persistent_storage_end"
 
 SUBSYSTEM!="block", GOTO="persistent_storage_end"
-KERNEL!="loop*|mmcblk[0-9]|mspblk[0-9]|nvme*|sd*|sr*|vd*", GOTO="persistent_storage_end"
+KERNEL!="loop*|mmcblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*", GOTO="persistent_storage_end"
 
 # ignore partitions that span the entire disk
 TEST=="whole_disk", GOTO="persistent_storage_end"