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
This commit is contained in:
Ian Abbott 2024-05-30 11:20:41 +01:00 committed by Luca Boccassi
parent 3f69070598
commit c8596cc640

View File

@ -16,6 +16,8 @@ KERNEL=="vport*", TAG+="systemd"
SUBSYSTEM=="ptp", TAG+="systemd"
SUBSYSTEM=="mtd", TAG+="systemd"
SUBSYSTEM=="ubi", TAG+="systemd"
SUBSYSTEM=="block", TAG+="systemd"