]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
rules: allow systemd to manage UBI volumes (#5214)
authorMirza Krak <mirza.krak@hostmobility.com>
Fri, 3 Feb 2017 08:26:50 +0000 (09:26 +0100)
committerMartin Pitt <martinpitt@users.noreply.github.com>
Fri, 3 Feb 2017 08:26:50 +0000 (09:26 +0100)
UBI is a software layer on top of MTD devices that is used with flash
chips.

rules/99-systemd.rules.in

index 98153bce0f72b9aca1b38668dcbc60562a19568b..edd1faa17a9e193fa4da291a7c012c9b02b2d4dd 100644 (file)
@@ -10,6 +10,8 @@ ACTION=="remove", GOTO="systemd_end"
 SUBSYSTEM=="tty", KERNEL=="tty[a-zA-Z]*|hvc*|xvc*|hvsi*|ttysclp*|sclp_line*|3270/tty[0-9]*", TAG+="systemd"
 KERNEL=="vport*", TAG+="systemd"
 
+SUBSYSTEM=="ubi", TAG+="systemd"
+
 SUBSYSTEM=="block", TAG+="systemd"
 SUBSYSTEM=="block", ACTION=="add", ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", ENV{SYSTEMD_READY}="0"