[PATCH 1/2] [v2] filetype: Improve FAT detection
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Mon Sep 17 01:49:04 EDT 2012
On 22:33 Sun 16 Sep , Franck Jullien wrote:
> We may have some disk with MBR as a first sector. In this case, the
> current FAT check returns an error. However, the FAT sector exist and
> the MBR can tell us where it is.
>
> This patch add to file_name_detect_type function the ability to find
> the FAT boot sector on the first sector of the first partition in case
> it is not on sector 0.
>
> It also introduce is_fat_boot_sector to check if a buffer is a FAT boot
> sector.
can you try
mount /dev/disk0.0 /mnt
does this work?
Best Regards,
J.
More information about the barebox
mailing list