mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fix mbr detection
@ 2014-11-04  7:54 Zahari Doychev
  2014-11-04  7:54 ` [PATCH] common: fix mbr filetype detection Zahari Doychev
  2014-11-05 13:54 ` [PATCH] fix mbr detection Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Zahari Doychev @ 2014-11-04  7:54 UTC (permalink / raw)
  To: barebox

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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-05 13:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-04  7:54 [PATCH] fix mbr detection Zahari Doychev
2014-11-04  7:54 ` [PATCH] common: fix mbr filetype detection Zahari Doychev
2014-11-05 13:54 ` [PATCH] fix mbr detection Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox