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>
Thu, 22 Dec 2022 11:55:42 +0000 (11:55 +0000)
commit5dde3cb957ba16e08ef4015580f2263c0ebbcdba
tree7bb5b5953588f163903900bb33bd24ed1b04585c
parent57694348a140803c7d0bb76da24893a39800fd1e
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