diff options
author | Karel Zak <kzak@redhat.com> | 2024-09-11 11:27:09 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-09-11 17:01:26 +0200 |
commit | eb360dd9a1105e2f2a52a514c64a8b131980ae06 (patch) | |
tree | a71cc16c915cbbda49c17d6fa5f65492031b8484 /rules.d/60-block.rules | |
parent | man: fix help text for systemd-creds tool's "list" verb (diff) | |
download | systemd-eb360dd9a1105e2f2a52a514c64a8b131980ae06.tar.xz systemd-eb360dd9a1105e2f2a52a514c64a8b131980ae06.zip |
udev: allow persistent storage rules for zram devices
The /dev/zramN devices can be used as regular block devices. They are
typically used for swap areas, but it would be beneficial to have
LABEL and UUID in the udev database to make it more user-friendly for
tools such as lsblk or mount (if used with other filesystems).
Diffstat (limited to 'rules.d/60-block.rules')
-rw-r--r-- | rules.d/60-block.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.d/60-block.rules b/rules.d/60-block.rules index 13f88e92c8..40c26a9ed6 100644 --- a/rules.d/60-block.rules +++ b/rules.d/60-block.rules @@ -9,5 +9,5 @@ ACTION=="change", SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST=="block", # watch metadata changes, caused by tools closing the device node which was opened for writing ACTION!="remove", SUBSYSTEM=="block", \ - KERNEL=="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*|ubi*|scm*|pmem*|nbd*|zd*|rbd*", \ + KERNEL=="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*|ubi*|scm*|pmem*|nbd*|zd*|rbd*|zram*", \ OPTIONS+="watch" |