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 Learn more about UUID (Filesystem)
- Mounting Drives and /etc/fstab Explained How Linux attaches storage devices to the filesystem tree with mount and umount, how to find a drive to mount, and how to make mounts persist across reboots using /etc/fstab.