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)
committerCarlos Henrique Lima Melara <charlesmelara@riseup.net>
Thu, 26 Jun 2025 00:44:53 +0000 (21:44 -0300)
commit26a49724df2dedd904fedd8f2a31ef8d20264e0a
treec1c72e6de59bf1f34f19baeb8eba423579a78456
parent57cc8e571337031d1e9c468b8c587adeaf5afa0b
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