Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Can a partition have a UUID without a filesystem?

share|improve this question

1 Answer 1

Partitions are identified by uuid on the newer gpt partition table (compare to msdos partition tables which do not have uuids). In Linux gpt partitions also show up in /dev/disk/by-partuuid.

share|improve this answer
1  
Can you clarify this a little bit? The answer is - YES, if it is a GPT partition, NO if not? –  Nils May 8 '12 at 20:42
1  
msdos partitions do not have uuids, gpt partitions do. Normally this doesn't matter though, because you just identify the partition you want by the uuid of its filesystem. –  joeforker May 8 '12 at 20:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.