linux: Just how can I watch all UUIDs for all readily available disks on my system?

My /etc/fstab has this:

# / was on /dev/sda1 during installation
UUID=77d8da74-a690-481a-86d5-9beab5a8e842 /               ext4    errors=remount-ro 0       1

There are numerous various other disks on this system, and also not all disks are being placed to the proper area (For instance,/ dev/sda1 and also/ dev/sdb1 are occasionally turned around).

Just how can I see the UUIDs for all disks on my system? Can I see the UUID for the 3rd disk on this system?

2019-05-05 18:20:39
Source Share
Answers: 2

In /dev/disk/by-uuid there are symlinks mapping each drive's UUID to its access in /dev (as an example /dev/sda1)

2019-05-08 11:39:28

There's a device called blkid (usage it as origin or with sudo),

# blkid /dev/sda1
/dev/sda1: LABEL="/" UUID="ee7cf0a0-1922-401b-a1ae-6ec9261484c0" SEC_TYPE="ext2" TYPE="ext3"

you can examine this link for even more details

2019-05-08 09:25:35