]> git.ipfire.org Git - thirdparty/systemd.git/commit - rules.d/60-persistent-storage.rules.in
udev: Fix by-uuid symlink for ubifs volumes
authorTrent Piepho <tpiepho@gmail.com>
Thu, 1 Jul 2021 19:19:57 +0000 (12:19 -0700)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 2 Jul 2021 13:26:18 +0000 (14:26 +0100)
commit21ac7884e9c1684d091d893254bcbe4b83740e9f
tree8a594c56430698b423dcd45d5976d269b631b91f
parent01cf6bacd95a3c23aa0d2fe3f82a4a02ddb1cee3
udev: Fix by-uuid symlink for ubifs volumes

ubifs volumes have a UUID and the built-in blkid is able to determine
it.  The disk/by-uuid symlink isn't created because ubifs volumes are
not on block devices but on SUBSYSTEM="ubi" devices.  See #20071.

Allow ubi subsystem devices to be processed by the persistent storage
rules too.  The kernel device name matching already allows ubi* to pass.
The existing rules are sufficient to create the link.

The links look like other by-uuid symlinks, for example:
/dev/disk/by-uuid/9a136158-585b-4ba4-9b70-cbaf2cf78a1c -> ../../ubi0_1
rules.d/60-persistent-storage.rules