How Do I Find the File System Type in Linux?
Contents

What is file system type in Linux?

Linux. Linux supports numerous file systems, but common choices for the system disk on a block device include the ext* family (ext2, ext3 and ext4), XFS, JFS, and btrfs. For raw flash without a flash translation layer (FTL) or Memory Technology Device (MTD), there are UBIFS, JFFS2 and YAFFS, among others.

How do I know if I have Ext4 or XFS?

5 Methods to Identify Your Linux File System Type (Ext2 or Ext3 or Ext4)

  1. Method 1: Use df -T Command. The -T option in the df command displays the file system type. …
  2. Method 2: Use Mount Command. Use the mount command as shown below. …
  3. Method 3: Use file Command. …
  4. Method 4: View the /etc/fstab file. …
  5. Method 5: Use fsck Command.

18 апр. 2011 г.

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest