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 <bluca@debian.org>
Sun, 18 Jun 2023 14:55:54 +0000 (15:55 +0100)
commit5b0af7d7bceea672c392e5fe01c59ade1a8f687e
treec313cbd2752e5621b7d386fee67146d29255c7dc
parentf1c663d49e0c7170b6313845153ad5ee51fb36a3
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.

Gbp-Pq: Name udev-always-create-device-symlinks-for-USB-disks.patch
rules.d/60-persistent-storage.rules
src/udev/udev-builtin-usb_id.c