Fstab: UUID vs PARTUUID?
by varaonaid from LinuxQuestions.org on (#55GVZ)
Hello,
I've recently switched to OpenSUSE Tumbleweed and I'm trying to edit fstab so that my drives will automatically mount where I want them to every start up. I've read a lot about this and the UUID seems to be the best way to be sure that the drive locations don't change (vs using dev/sda1, etc).
However, all of my drives seem to have two UUIDs: the main UUID and (for the most part) a much longer PARTUUID (partition UUID from what I can tell). Now, do I use the former or the latter? I'm confused. I seems like the PART UUID would make more sense since it's the partition that needs to be mounted. It's also odd, even on drives that have only a single partition, it still shows a shorter UUID and a longer PARTUUID.
Any info would be extremely helpful. I've not been able to find much info in my web searches on whether I want the UUID or PARTUUID and I know fstab isn't something you want to screw up. :) Thanks so much in advance!


I've recently switched to OpenSUSE Tumbleweed and I'm trying to edit fstab so that my drives will automatically mount where I want them to every start up. I've read a lot about this and the UUID seems to be the best way to be sure that the drive locations don't change (vs using dev/sda1, etc).
However, all of my drives seem to have two UUIDs: the main UUID and (for the most part) a much longer PARTUUID (partition UUID from what I can tell). Now, do I use the former or the latter? I'm confused. I seems like the PART UUID would make more sense since it's the partition that needs to be mounted. It's also odd, even on drives that have only a single partition, it still shows a shorter UUID and a longer PARTUUID.
Any info would be extremely helpful. I've not been able to find much info in my web searches on whether I want the UUID or PARTUUID and I know fstab isn't something you want to screw up. :) Thanks so much in advance!