Linux file system can be partitioned with various partition formats. We call it as file system types. Some of the file system types are listed below.

  • ext2
  • ext3
  • ext4
  • jfs
  • ReiserFS
  • XFS
  • Btrfs

Inorder to identify the type of file system in an already existing Linux OS, we can use one of the below approaches.

Approach 1: Using lsblk command

Issue the following command. It will display the file system types and the mount points

lsblk -f

Approach 2: Using blkid command

Issue the following command. It will display the partition details and the TYPE. You can specify the disk partition along with this command to get the details of a specific partition.

blkid 
blkid <disk-partition>