How do I findout if a partition is ext2, ext3, or ext4?

Post Reply
mister_v
Posts: 137
Joined: Sat Jun 20, 2009 5:42 pm

How do I findout if a partition is ext2, ext3, or ext4?

Post by mister_v »

Hey,

I would like too know how a partition has been formatted
Is it ext2, ext3, or ext4?

Is there a quick command?

Thanks
Chris
Site Admin
Posts: 127
Joined: Mon Jul 21, 2008 9:45 am
Location: Leuven, Belgium
Contact:

Re: How do I findout if a partition is ext2, ext3, or ext4?

Post by Chris »

You can try

Code: Select all

file -s /dev/sda*
as root.

That should give you all the info about the partitions on sda.
Post Reply