![](https://seccdn.libravatar.org/avatar/2b43d424e288433c003051dc7411b1bd.jpg?s=120&d=mm&r=g)
On Thu, 2023-10-26 at 11:16 +0200, Oliver Neukum wrote:
Right. It hasn't been actually stable for decades, and this has been communicated extensively. *It's still discouraged to refer to any device by its device node name*. Nothing has changed in this respect.
I am afraid this has an inherent problem. Any scheme that goes by an attribute needs those attributes to be
a) unique b) present
If you wish to use a UUID, you are basically addressing the _medium_, not the device. I am afraid doing the big stuff makes you forget the difference.
We need true device names on occasion. That requirement is not going to go away.
We have unique device IDs for most modern hardware, for example SCSI NAA IDs, NVMe WWIDs, or ATA and USB IDs. You are right that sometimes these attributes aren't present, perhaps because of some IO error during device probing and/or udev processing, or because the manufacturer didn't bother. But these are fortunately rare situations. Virtual devices are a different issue, I am not sure if all emulators take care to generate trustworthy unique IDs. Martin
Regards Oliver