Friday, September 7, 2012
10:49 PM

Finding the filesystem type of a partition in linux

To find the type of filesystem a partition or a media is of we can use the commands "df" or "mount".

Using df



The column with the heading "Type" gives the filesystem type. So the partition /dev/sda1 is of type ext4

To find the filesystem type of a specific partition pass the partition as the argument.



Using mount



As listed the partition /dev/sda1 is of type ext4.
We can find the specific partition type by combining mount with grep.




0 comments:

Post a Comment