]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: always create device symlinks for USB disks
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 30 Oct 2022 00:43:05 +0000 (09:43 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sun, 30 Oct 2022 11:02:02 +0000 (12:02 +0100)
commit479da1107a0d4e2f7ef5cd938512b87a0e45f180
tree2a962bf86ff65e5af36e1b42c78bc2103666fbbc
parent269585dcc8becd42332af9ebe09c96d6b57e3571
udev: always create device symlinks for USB disks

Previously, ata_id might not be able to retrieve attributes correctly,
and properties from usb_id were used as a fallback. See issue #24921
and PR #24923. To keep backward compatibility, still we need to create
symlinks based on USB serial.

Fixes #25179.
rules.d/60-persistent-storage.rules
src/udev/udev-builtin-usb_id.c