Linux: Display the filesystem UUID and label using blkid
The blkid
Linux command prints out the UUID, label, and filesystem type which can be handy.
/dev/sda1: LABEL="boot" UUID="368aa53c-c537-4da4-8453-3efab30f3fda" TYPE="ext4" PARTUUID="000e4d72-01"
/dev/sda2: UUID="a55e9e7f-dfcc-4709-8ea1-4f0a141aa0c5" TYPE="swap" PARTUUID="000e4d72-02"
/dev/sda3: UUID="af6fbd1e-25f5-4279-8124-e1e427e6e7d3" TYPE="ext4" PARTUUID="000e4d72-03"
/dev/sda5: LABEL="home" UUID="5c5956f1-06ba-4769-94f4-dcf93828d987" TYPE="ext4" PARTUUID="000e4d72-05"