summaryrefslogtreecommitdiffstats
path: root/rules.d/60-persistent-storage.rules.in
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2024-09-05 12:31:20 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-09-06 01:26:44 +0200
commitcbe65d38cf0a2e55cdba75871de108bc505a7095 (patch)
tree286546f650a600f35ea3578858aa102ce9373c16 /rules.d/60-persistent-storage.rules.in
parentMerge pull request #34266 from DaanDeMeyer/fix (diff)
downloadsystemd-cbe65d38cf0a2e55cdba75871de108bc505a7095.tar.xz
systemd-cbe65d38cf0a2e55cdba75871de108bc505a7095.zip
udev: allow persistent storage rules for rbd devices
The RADOS Block Device (rbd) can be used as any other block device with further layers on top of it, hence allow the common persistent storage rules to apply, including watching for changes.
Diffstat (limited to '')
-rw-r--r--rules.d/60-persistent-storage.rules.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.d/60-persistent-storage.rules.in b/rules.d/60-persistent-storage.rules.in
index 390c6e0034..76cab7fbc7 100644
--- a/rules.d/60-persistent-storage.rules.in
+++ b/rules.d/60-persistent-storage.rules.in
@@ -7,7 +7,7 @@ ACTION=="remove", GOTO="persistent_storage_end"
ENV{UDEV_DISABLE_PERSISTENT_STORAGE_RULES_FLAG}=="1", GOTO="persistent_storage_end"
SUBSYSTEM!="block|ubi", GOTO="persistent_storage_end"
-KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*|ubi*|scm*|pmem*|nbd*|zd*", GOTO="persistent_storage_end"
+KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*|ubi*|scm*|pmem*|nbd*|zd*|rbd*", GOTO="persistent_storage_end"
# ignore partitions that span the entire disk
TEST=="whole_disk", GOTO="persistent_storage_end"