A yes, my beloved nvme1p2 partition that changes name every reboot
Anyone else chuckle on the parallel in saying to use the UUID is no different than saying “just hardcore the IP bro”
I’m not hating on you, but it’s an extremely flawed system where you are forced to use a direct ID mapping as a reference.
From what I’m understanding from people you can assign an alias to the UUID that sounds better?
Anyone else chuckle on the parallel in saying to use the UUID is no different than saying “just hardcore the IP bro”
It’s more like setting a static IP. The UUID is set when you create the partition and won’t change unless you force it to change.
You can also use any of the GUI utilities which can add it to your fstab.
There’s a lot of things that are made way too difficult on Linux for seemingly no reason. This isn’t one of them.
If filesystem UUIDs are IP equivalents. Then device paths are MAC addresses. FS labels are DNS. Device mapper entries are service discovery.
The alternative being running os-prober
at boottime, on every boot.
Currently, we set UUID using os-prober
whenever we remake grub.cfg
, analogous to that would be registering web-server static IPs with a DNS, which provides the domain name aliases (we don’t need to see UUID in the GRUB menu right? We see the OS names).
An analogy to the alternative would be to ask all devices on the internet to send their usage methods everytime you try to look for another site.
my nvme is always nvme1pX, with X being 1-4 depending on the partition, and its always the same.
Wonder why? Weird that some change and some dont.
I got two drives with one being nvme1pX and the other nvme2pX and I don’t know why but they just swap names sometime. I’m new to linux though so it may be some misconfiguration on my part and I rarely need to access them with their name.