Turn off kern.geom.part.mbr.enforce_chs by default.
This commit is contained in:
parent
a327e0b08a
commit
36b16d1f7d
@ -1176,7 +1176,7 @@ If this variable set to 1 each component of the mirrored volume will be
|
||||
present as independent partition.
|
||||
.Em NOTE :
|
||||
This may break a mirrored volume and lead to data damage.
|
||||
.It Va kern.geom.part.mbr.enforce_chs : No 1
|
||||
.It Va kern.geom.part.mbr.enforce_chs : No 0
|
||||
Specify how the Master Boot Record (MBR) module does alignment.
|
||||
If this variable is set to a non-zero value, the module will automatically
|
||||
recalculate the user-specified offset and size for alignment with the CHS
|
||||
|
@ -53,9 +53,9 @@ SYSCTL_DECL(_kern_geom_part);
|
||||
static SYSCTL_NODE(_kern_geom_part, OID_AUTO, mbr, CTLFLAG_RW, 0,
|
||||
"GEOM_PART_MBR Master Boot Record");
|
||||
|
||||
static u_int enforce_chs = 1;
|
||||
static u_int enforce_chs = 0;
|
||||
SYSCTL_UINT(_kern_geom_part_mbr, OID_AUTO, enforce_chs,
|
||||
CTLFLAG_RWTUN, &enforce_chs, 1, "Enforce alignment to CHS addressing");
|
||||
CTLFLAG_RWTUN, &enforce_chs, 0, "Enforce alignment to CHS addressing");
|
||||
|
||||
#define MBRSIZE 512
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user