Applet for detecting the filesystem type.

Sergey Naumov sknaumov at gmail.com
Wed Nov 24 07:29:35 UTC 2010


>> I would like to know if there is any existing applet in busybox so as
>> to determine the file system type of a disk partition.
>
> fdisk -l will show the size and type.
>
>>>> Dan

As far as I know, fdisk -l shows filesystem type for partition as it
was selected at the moment of partitionizing (and it get this
information from MBR). But there is no guarantee that the real
filesystem type is the same at it was specified in MBR. So if you can
guarantee, that at your system partition types in MBR corresponds to
real partition types, then you can use fdisk -l, else you should look
for another utility.

Sergey Naumov.


More information about the busybox mailing list