On Mon, 2023-10-30 at 09:56 +0100, Oliver Neukum wrote:
A lot of devices (not media) that exist and need to be referred to somehow.
And you don't see by-id links for these?
Yes, I have them, but look at how they are constructed. They are (showing all for comparison):
nvme-eui.ace42e00060644b22ee4ac0000000001 nvme- SKHynix_HFS512GD9TNI-L2B0B_CS0AN73541VA1AL6G_1-part1 nvme- SKHynix_HFS512GD9TNI-L2B0B_CS0AN73541VA1AL6G-part4 nvme-eui.ace42e00060644b22ee4ac0000000001-part1 nvme- SKHynix_HFS512GD9TNI-L2B0B_CS0AN73541VA1AL6G_1-part2 usb- Generic_USB_CF_Reader_058F312D81B1-0:1 nvme-eui.ace42e00060644b22ee4ac0000000001-part2 nvme- SKHynix_HFS512GD9TNI-L2B0B_CS0AN73541VA1AL6G_1-part3 usb- Generic_USB_CF_Reader_058F312D81B1-0:1-part1 nvme-eui.ace42e00060644b22ee4ac0000000001-part3 nvme- SKHynix_HFS512GD9TNI-L2B0B_CS0AN73541VA1AL6G_1-part4 usb- Generic_USB_MS_Reader_058F312D81B1-0:3 nvme-eui.ace42e00060644b22ee4ac0000000001-part4 nvme- SKHynix_HFS512GD9TNI-L2B0B_CS0AN73541VA1AL6G-part1 usb- Generic_USB_SD_Reader_058F312D81B1-0:0 nvme-SKHynix_HFS512GD9TNI-L2B0B_CS0AN73541VA1AL6G nvme- SKHynix_HFS512GD9TNI-L2B0B_CS0AN73541VA1AL6G-part2 usb- Generic_USB_SM_Reader_058F312D81B1-0:2 nvme-SKHynix_HFS512GD9TNI-L2B0B_CS0AN73541VA1AL6G_1 nvme- SKHynix_HFS512GD9TNI-L2B0B_CS0AN73541VA1AL6G-part3
usb-Generic_USB_SM_Reader_058F312D81B1-0:2. That is taking the path as ID. We are presenting the path and the vendor - Bus 004 Device 005: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader - as id. That does not change the core problem. The only unique information about a device that we'll always have is the path.
I can't follow. Both the eui (ace42e00060644b22ee4ac0000000001) and the serial number (CS0AN73541VA1AL6G) should be unique. For large storage arrays, the serial number might not be, but the eui should. Martin