]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: split attribute assignment for MMC cards
authorŁukasz Stelmach <stlman@poczta.fm>
Wed, 24 Jun 2020 17:24:13 +0000 (19:24 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 25 Jun 2020 16:40:45 +0000 (18:40 +0200)
commitfdf3e48c447a6e0d810563a641ef28b98d3f9d8c
tree35fe88c725d09b78c3a9d5bc6284bb4f4773097e
parent6d88513e6b4fe36f59d3c5702a22ab796dea7852
udev: split attribute assignment for MMC cards

Some cards have names consisting only of whitespace characters which
prevents the original rule from matching and assigning ID_SERIAL
properly. With the split rules ID_SERIAL and ID_NAME are assigned
independently and the symlink is created only if both are available the
same way it has worked for partitions.
rules.d/60-persistent-storage.rules