Blkid command on Linux (shows block device attributes)
The blkid command on Linux shows what type of content a block device (disks) contains and its attributes such as device name, and other metadata.
If a device is entered, it will show only the information for the specific device. If no parameters are entered, it will show information from all connected block devices.
Example:
/dev/mapper/cl-home: uuid=“fcbdceb1-9053-460b-908c-f7913f91dbe6” type=“XFS” It also shows information about the disk topology:
Learn much more about Linux in our online course. You can register here. If you already have an account, or want to create one, just log in or create your user here.
Did you like it?
Share