blkid

From RaySoft

blkid is a command-line utility to locate/print block device attributes.[1]

Documentation

Syntax

blkid [PARAMETER ...] [DEVICE ...]

Parameters

-g
Perform a garbage collection pass on the blkid cache to remove devices which no longer exist.
-i
Display I/O limits (aka I/O topology) information. The 'export' output format is automatically enabled. This option could be used together with -p option.
-t NAME=VALUE
Search for block devices with tokens named NAME that have the VALUE, and display any devices which are found. Common VALUEs for NAME include TYPE, LABEL, and UUID. If there are no devices specified on the command line, all block devices will be searched; otherwise only the specified devices are searched.

References

  1. man 8 'blkid'