Applet for detecting the filesystem type.

T4ndeta t4ndeta at gmail.com
Thu Nov 25 08:53:12 UTC 2010


On Thu, Nov 25, 2010 at 07:57, Denys Vlasenko <vda.linux at googlemail.com> wrote:
> On Tuesday 23 November 2010 11:00, Sameer Naik wrote:
>> Hello,
>>
>> I am using busybox-1.15.2. I am writing a hotplug script for mdev to
>> automount usb disk drives with ext2, ext3, vfat, ntfs-3g file systems.
>> In my hotplug script i need to figure out the label of the disk
>> partition as well as the filesystem type. To get the label i found the
>> 'blkid' applet that prints out the label as well as the UUID of the
>> partition, but does not print the filesystem type.
>
> Looks like blkid needs extending...

Hi,

This a patch I made for my own purposes, might be helpful.
I am not sure if it will apply without any problems

T4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.17.1-blkid_type.patch
Type: text/x-patch
Size: 14318 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20101125/24b967a4/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.14.3-blkid_type_squashfs.patch
Type: text/x-patch
Size: 28805 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20101125/24b967a4/attachment-0003.bin>


More information about the busybox mailing list