summaryrefslogtreecommitdiff
path: root/rules/60-persistent-storage.rules
diff options
context:
space:
mode:
authorJóhann B. Guðmundsson <johannbg@gmail.com>2014-02-02 13:29:19 +0000
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-02-05 19:29:33 -0500
commit99bd4af0c7034f425b4d334986b03e632ab71718 (patch)
tree200caba9983032e871484870d70f4821b38eb54f /rules/60-persistent-storage.rules
parent90b2de37b80603168f4e9c9c81cff7eea4efa21a (diff)
udev: add zram to the list of devices inappropriate for symlinks
udev seems to have a race condition with swapon to see which can open /dev/zram0 first, causing swapon to fail. Seems to be most noticeable on arm devices one out of every 7 times or something.
Diffstat (limited to 'rules/60-persistent-storage.rules')
-rw-r--r--rules/60-persistent-storage.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/60-persistent-storage.rules b/rules/60-persistent-storage.rules
index a4d009ae6e..154ffd92ce 100644
--- a/rules/60-persistent-storage.rules
+++ b/rules/60-persistent-storage.rules
@@ -14,7 +14,7 @@ ACTION=="add", SUBSYSTEM=="module", KERNEL=="block", ATTR{parameters/events_dfl_
SUBSYSTEM!="block", GOTO="persistent_storage_end"
# skip rules for inappropriate block devices
-KERNEL=="fd*|mtd*|nbd*|gnbd*|btibm*|dm-*|md*", GOTO="persistent_storage_end"
+KERNEL=="fd*|mtd*|nbd*|gnbd*|btibm*|dm-*|md*|zram*", GOTO="persistent_storage_end"
# ignore partitions that span the entire disk
TEST=="whole_disk", GOTO="persistent_storage_end"