Partitions and filesystems


I have make some partitions wihtin a disk (/dev/sdb) with fdisk program. The partition table is as follows:

Dispositivo Inicio    Comienzo      Fin      Bloques  Id  Sistema
/dev/sdb1               1         255      513794   83  Linux
/dev/sdb2             256        1021     1543490    5  Extendida
/dev/sdb5             256         510      513794   83  Linux
/dev/sdb6             511         765      513794   83  Linux
/dev/sdb7             766        1021      515809   83  Linux

The partition type that I have choosed for the whole partitions is Linux (code 83). Then I've formated the partitions with different filesystems:

/dev/sdb1 --> ext2
/dev/sdb5 --> ext3
/dev/sdb6 --> ext4
/dev/sdb7 --> vfat

¿Now, how can I verify the partition's filesystem type? With fdisk program I can verify the partitions type (Linux for the whole partitions), but... ¿What for the partitions filesystem type?


Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

try to use parted -l  or fsck -N /dev/disk

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
You can not.
fdisk reports the partition not how they are formatted.

i.e. the hard drive is like a shelf where you placed a dividers.
You then place different language books in each section.  Looking at the shelf and the dividers alone you can  only tell how much space is allocated to each section, you have to look at the books to determine in what language they are or what category they belong to.

mount /dev/sdb7 /mnt
and then check mount | grep sdb7
will tell you the information about what filesystem type was used for the partition.
mount will auto-test the filesystem type and will mount it accordingly.
Wall4Author Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.