This article covers the different methods to find out the UUID in a Linux Mint 20 system.
UUID is the "universally unique identifier" that is assigned to devices on a Linux system for the purpose of identification.
For example if your hard disk has 3 partitions then each partition is a device and has a uuid.
Similarly cd/dvd, usb drives etc all are assigned a uuid.
Different methods To identify Disk Partition/FileSystem UUID in Linux:
1. blkid Command: locate/print block device attributes.
2. lsblk Command: lsblk lists information about all available or the specified block devices.
3. hwinfo Command: hwinfo stands for hardware information tool and great utility that used to probe for the hardware present in the system.
4. udevadm Command: udev management tool.
5. tune2fs Command: adjust tunable filesystem parameters on ext2/ext3/ext4 filesystems.
6. dumpe2fs Command: dump ext2/ext3/ext4 filesystem information.
7. Using by-uuid Path: The directory contains UUID and real block device files, UUIDs were symlink with real block device files.