On Linux, use /sys/class/dmi/id/product_uuid ?
Hello,
On linux, why do not use one of those ids : https://www.baeldung.com/linux/machine-id ?
For example cat /sys/class/dmi/id/product_uuid ?
Best regards...
@nicolaspernoud Interesting, I didn't know about that, but this one thing bothers me:
Of course, some machines are custom, so these entries may be ‘Not Specified’ or even empty, depending on the circumstances. In such cases, we can turn to other solutions.
We could fallback to /etc/machine-id if none of the solutions listed works ?
I tested on several machines, and /sys/class/dmi/id/product_uuid was provided every time.
Any news on this ?