Bootstrap FreeKB - Linux Commands - blkid command (determine file system type)
Linux Commands - blkid command (determine file system type)

Updated:   |  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 Buy Me A Coffee



Comments


Add a Comment


Please enter 66a4a2 in the box below so that we can be sure you are a human.