Changeset View
Changeset View
Standalone View
Standalone View
sys/geom/part/g_part_bsd.c
Show First 20 Lines • Show All 105 Lines • ▼ Show 20 Lines | static struct g_part_scheme g_part_bsd_scheme = { | ||||
g_part_bsd_methods, | g_part_bsd_methods, | ||||
sizeof(struct g_part_bsd_table), | sizeof(struct g_part_bsd_table), | ||||
.gps_entrysz = sizeof(struct g_part_bsd_entry), | .gps_entrysz = sizeof(struct g_part_bsd_entry), | ||||
.gps_minent = 8, | .gps_minent = 8, | ||||
.gps_maxent = 20, /* Only 22 entries fit in 512 byte sectors */ | .gps_maxent = 20, /* Only 22 entries fit in 512 byte sectors */ | ||||
.gps_bootcodesz = BBSIZE, | .gps_bootcodesz = BBSIZE, | ||||
}; | }; | ||||
G_PART_SCHEME_DECLARE(g_part_bsd); | G_PART_SCHEME_DECLARE(g_part_bsd); | ||||
MODULE_VERSION(geom_part_bsd, 0); | |||||
static struct g_part_bsd_alias { | static struct g_part_bsd_alias { | ||||
uint8_t type; | uint8_t type; | ||||
int alias; | int alias; | ||||
} bsd_alias_match[] = { | } bsd_alias_match[] = { | ||||
{ FS_BSDFFS, G_PART_ALIAS_FREEBSD_UFS }, | { FS_BSDFFS, G_PART_ALIAS_FREEBSD_UFS }, | ||||
{ FS_SWAP, G_PART_ALIAS_FREEBSD_SWAP }, | { FS_SWAP, G_PART_ALIAS_FREEBSD_SWAP }, | ||||
{ FS_ZFS, G_PART_ALIAS_FREEBSD_ZFS }, | { FS_ZFS, G_PART_ALIAS_FREEBSD_ZFS }, | ||||
▲ Show 20 Lines • Show All 418 Lines • Show Last 20 Lines |