summaryrefslogtreecommitdiffstats
path: root/rules.d
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2024-05-30 12:20:41 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2024-06-12 01:18:33 +0200
commitc8596cc6401f0afc7d567d517ccfbad3203b1b40 (patch)
tree59676d27c1fb5b2d70bc7af88c6c7384907f963f /rules.d
parentcore/socket: allow MPTCP protocol (diff)
downloadsystemd-c8596cc6401f0afc7d567d517ccfbad3203b1b40.tar.xz
systemd-c8596cc6401f0afc7d567d517ccfbad3203b1b40.zip
udev: tag MTD devices for systemd
Allow systemd units to require/bind to MTD devices. One use case is for using a systemd service to attach an MTD device to an UBI controller, which cannot be done until the MTD device has been probed. Fixes #33096
Diffstat (limited to 'rules.d')
-rw-r--r--rules.d/99-systemd.rules.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.d/99-systemd.rules.in b/rules.d/99-systemd.rules.in
index 8ba6f177f8..a57de9983c 100644
--- a/rules.d/99-systemd.rules.in
+++ b/rules.d/99-systemd.rules.in
@@ -16,6 +16,8 @@ KERNEL=="vport*", TAG+="systemd"
SUBSYSTEM=="ptp", TAG+="systemd"
+SUBSYSTEM=="mtd", TAG+="systemd"
+
SUBSYSTEM=="ubi", TAG+="systemd"
SUBSYSTEM=="block", TAG+="systemd"