From: Ian Abbott Date: Thu, 30 May 2024 10:20:41 +0000 (+0100) Subject: udev: tag MTD devices for systemd X-Git-Tag: v257-rc1~1199 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8596cc6401f0afc7d567d517ccfbad3203b1b40;p=thirdparty%2Fsystemd.git 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 --- diff --git a/rules.d/99-systemd.rules.in b/rules.d/99-systemd.rules.in index 8ba6f177f84..a57de9983c9 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"