Changeset View
Changeset View
Standalone View
Standalone View
sys/geom/part/g_part.c
Show First 20 Lines • Show All 141 Lines • ▼ Show 20 Lines | |||||
static u_int auto_resize = 1; | static u_int auto_resize = 1; | ||||
SYSCTL_UINT(_kern_geom_part, OID_AUTO, auto_resize, | SYSCTL_UINT(_kern_geom_part, OID_AUTO, auto_resize, | ||||
CTLFLAG_RWTUN, &auto_resize, 1, | CTLFLAG_RWTUN, &auto_resize, 1, | ||||
"Enable auto resize"); | "Enable auto resize"); | ||||
static u_int allow_nesting = 0; | static u_int allow_nesting = 0; | ||||
SYSCTL_UINT(_kern_geom_part, OID_AUTO, allow_nesting, | SYSCTL_UINT(_kern_geom_part, OID_AUTO, allow_nesting, | ||||
CTLFLAG_RWTUN, &allow_nesting, 0, | CTLFLAG_RWTUN, &allow_nesting, 0, | ||||
"Allow additional levels of nesting"); | "Allow additional levels of nesting"); | ||||
char g_part_separator[MAXPATHLEN] = ""; | |||||
SYSCTL_STRING(_kern_geom_part, OID_AUTO, separator, | |||||
CTLFLAG_RDTUN, &g_part_separator, sizeof(g_part_separator), | |||||
"Partition name separator"); | |||||
/* | /* | ||||
* The GEOM partitioning class. | * The GEOM partitioning class. | ||||
*/ | */ | ||||
static g_ctl_req_t g_part_ctlreq; | static g_ctl_req_t g_part_ctlreq; | ||||
static g_ctl_destroy_geom_t g_part_destroy_geom; | static g_ctl_destroy_geom_t g_part_destroy_geom; | ||||
static g_fini_t g_part_fini; | static g_fini_t g_part_fini; | ||||
static g_init_t g_part_init; | static g_init_t g_part_init; | ||||
▲ Show 20 Lines • Show All 2,274 Lines • Show Last 20 Lines |