diff options
author | Jóhann B. Guðmundsson <johannbg@gmail.com> | 2014-02-02 14:29:19 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-02-06 01:29:33 +0100 |
commit | 99bd4af0c7034f425b4d334986b03e632ab71718 (patch) | |
tree | 200caba9983032e871484870d70f4821b38eb54f | |
parent | Update some message formats (diff) | |
download | systemd-99bd4af0c7034f425b4d334986b03e632ab71718.tar.xz systemd-99bd4af0c7034f425b4d334986b03e632ab71718.zip |
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.
-rw-r--r-- | rules/60-persistent-storage.rules | 2 |
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" |