Changeset View
Changeset View
Standalone View
Standalone View
sys/geom/part/g_part_mbr.c
Show First 20 Lines • Show All 113 Lines • ▼ Show 20 Lines | static struct g_part_scheme g_part_mbr_scheme = { | ||||
g_part_mbr_methods, | g_part_mbr_methods, | ||||
sizeof(struct g_part_mbr_table), | sizeof(struct g_part_mbr_table), | ||||
.gps_entrysz = sizeof(struct g_part_mbr_entry), | .gps_entrysz = sizeof(struct g_part_mbr_entry), | ||||
.gps_minent = NDOSPART, | .gps_minent = NDOSPART, | ||||
.gps_maxent = NDOSPART, | .gps_maxent = NDOSPART, | ||||
.gps_bootcodesz = MBRSIZE, | .gps_bootcodesz = MBRSIZE, | ||||
}; | }; | ||||
G_PART_SCHEME_DECLARE(g_part_mbr); | G_PART_SCHEME_DECLARE(g_part_mbr); | ||||
MODULE_VERSION(geom_part_mbr, 0); | |||||
static struct g_part_mbr_alias { | static struct g_part_mbr_alias { | ||||
u_char typ; | u_char typ; | ||||
int alias; | int alias; | ||||
} mbr_alias_match[] = { | } mbr_alias_match[] = { | ||||
{ DOSPTYP_386BSD, G_PART_ALIAS_FREEBSD }, | { DOSPTYP_386BSD, G_PART_ALIAS_FREEBSD }, | ||||
{ DOSPTYP_EXT, G_PART_ALIAS_EBR }, | { DOSPTYP_EXT, G_PART_ALIAS_EBR }, | ||||
{ DOSPTYP_NTFS, G_PART_ALIAS_MS_NTFS }, | { DOSPTYP_NTFS, G_PART_ALIAS_MS_NTFS }, | ||||
▲ Show 20 Lines • Show All 476 Lines • Show Last 20 Lines |