[Toybox] [New Toys] - fstype, blkid

Rob Landley rob at landley.net
Thu Oct 24 17:35:57 PDT 2013


On 10/11/2013 09:06:59 AM, ibid.ag at gmail.com wrote:
> On Wed, Oct 09, 2013 at 04:06:11PM -0500, Rob Landley wrote:
> >
> > I did a mkfs.msdos on a "truncate -s 1m blah.img" and looked at the
> > output and it made a FAT12. (Sigh.) So I had "FAT32" and "FAT1"
> > checks (because they're at different offsets and the second catches
> > fat12 and 16.)
> And regular blkid just says:
> 
> fat.img: SEC_TYPE="msdos" UUID="495A-0A76" TYPE="vfat"
> 
> So it's saying "vfat" for all FAT* filesystems.

Yeah, identifying the appropriate driver seems to be the important  
thing.

Rob
 1382661357.0


More information about the Toybox mailing list