Applet for detecting the filesystem type.

Sameer Naik sameer.subscriptions at damagehead.com
Thu Dec 9 14:41:44 UTC 2010


Thanks T4,

With the patch applied blkid now displays the filesystem type in its output.
I applied the patch on busybox-1.15.2.

I have attached the patch for busybox-1.15.2.

Thanks and Regards
~Sameer

On Thu, Nov 25, 2010 at 2:23 PM, T4ndeta <t4ndeta at gmail.com> wrote:
> 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
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.15.2-blkid_type.patch
Type: text/x-patch
Size: 14288 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20101209/736dabfe/attachment.bin>


More information about the busybox mailing list