mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
6291ef2d80
only because there's a partition table where the boot sector has boot code. Boot sectors without boot code look like a MBR for all practical purposes. This change adds a check for the partition table and fails the probe when it's obvously invalid. The assumption being that the sector contains a boot sector and not a MBR. More checks are needed to distinguish a boot secto without boot code from a (empty) MBR. |
||
---|---|---|
.. | ||
g_part_apm.c | ||
g_part_bsd.c | ||
g_part_gpt.c | ||
g_part_if.m | ||
g_part_mbr.c | ||
g_part.c | ||
g_part.h |