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>
Mon, 27 May 2024 13:02:03 +0000 (14:02 +0100)
commit4475c7b36786e4fa013797e4347906f9eda62aa3
treed618f52e254464209ecd7be7795bb5834154b20e
parent379ad7753897dbef21935a2c12c215d95e537e80
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