Linux Commands - blkid command (determine file system type)
by
Jeremy Canfield |
Updated: July 13 2021
| Linux Commands articles
The blkid command can be used to determine partitions file system type.
blkid /dev/sda1
Which should return something like this, which shows that /dev/sda1 is using the EXT4 file system type.
/dev/sda1: UUID="066c18b6-1e3c-42c3-945c-80b9ce741784" TYPE="ext4"
This also will work with LVM logical volumes.
blkid /dev/volumegroup001/home
Which should return something like this.
/dev/volumegroup001/home: UUID="066c18b6-1e3c-42c3-945c-80b9ce741784" TYPE="xfs"
Did you find this article helpful?
If so, consider buying me a coffee over at