Partition management is the single most chaotic chore that you come across as a casual computer user, change my mind. Depending on the partition table and filesystem, each filesystem can have zero, one or two labels assigned to it. But there is no consensus about what to actually call these labels. I’ve seen “partlabel”, “label”, “partition label” and “name” with no obvious way to tell whether the tool is talking about the label stored in the partition table or the label stored in the filesystem.
So just use UUIDs to refer to partitions instead of labels, right? Wrong! Each partition has both a UUID and a PartUUID which are not the same. It’s simple once you are aware of that fact, but if you are not, it can lead to hours of confused troubleshooting. I learned this the hard way.
Just always make paritions a unique size and use their size to identify them. I’m sorta joking because this is not a good solution, but also not because this is what i always do.
Partition management is the single most chaotic chore that you come across as a casual computer user, change my mind. Depending on the partition table and filesystem, each filesystem can have zero, one or two labels assigned to it. But there is no consensus about what to actually call these labels. I’ve seen “partlabel”, “label”, “partition label” and “name” with no obvious way to tell whether the tool is talking about the label stored in the partition table or the label stored in the filesystem.
So just use UUIDs to refer to partitions instead of labels, right? Wrong! Each partition has both a UUID and a PartUUID which are not the same. It’s simple once you are aware of that fact, but if you are not, it can lead to hours of confused troubleshooting. I learned this the hard way.
Just always make paritions a unique size and use their size to identify them. I’m sorta joking because this is not a good solution, but also not because this is what i always do.