[PATCH] fix mbr detection
Zahari Doychev
zahari.doychev at linux.com
Mon Nov 3 23:54:00 PST 2014
I have a strange problem using usb sticks in barebox. After formatting some
previously FAT sticks they still have file system type set to FAT32 in the mbr.
In this way there are detected as FAT fs partitions instead of MBRs and the usb
media partitons can not be parsed.
This patch should resolve this problem. Please review it and check if it is
fine and not causing any side effects.
Regards,
Zahari
Zahari Doychev (1):
common: fix mbr filetype detection
common/filetype.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
common/partitions.c | 2 ++
include/filetype.h | 1 +
3 files changed, 51 insertions(+)
--
2.0.4
More information about the barebox
mailing list