whatis uuid

UUID (Filesystem)

Also known as: PARTUUID, blkid

A unique ID written into a filesystem when it is created, used to identify disks reliably even if device names like /dev/sdb change.

What Is a Filesystem UUID in Linux?

Device names depend on detection order, so the disk that is /dev/sdb today might be /dev/sdc after adding a drive. A filesystem UUID stays the same, which is why fstab and bootloaders reference UUID=.

blkid and lsblk -f print UUIDs. PARTUUID is a separate ID for the partition itself rather than the filesystem on it.

Example

sudo blkid /dev/sdb1