Detecting filesystem on unmounted partition

Ed W lists at wildgooses.com
Mon Mar 28 11:15:00 UTC 2011


On 28/03/2011 11:48, Baruch Siach wrote:
> 
> Doesn't the Busybox blkid applet work for you?
> 

It only shows the partition UUID (for *all* partitions) in 1.18.3

# blkid
/dev/sr0: LABEL="VMC Lite 9.4.4.17702"
/dev/sda2: UUID="5604b016-12c9-4990-b69b-848fddab34e0"
/dev/sda1: UUID="4a6d01a8-8eac-4410-ab8e-72f56f9fa55b"


On a full util-linux blkid you can do:

# blkid -s TYPE /dev/md1
/dev/md1: TYPE="ext2"


I'm currently too time constrained to try to contribute a patch back to
busybox to add such a feature, although I would happily sponsor an
affordable amount of consultancy to add it (send me an offer)?

That aside does anyone have any other suggestions to identify FS type
please?

Thanks

Ed W


More information about the busybox mailing list