Page MenuHomeFreeBSD

Add sysctl variable kern.geom.part.mbr.enforce_chs that is enabled by default. It can be used to disable automatic alignment to CHS geometry, that GEOM_PART_MBR does.
ClosedPublic

Authored by ae on Aug 11 2014, 1:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 1, 9:15 PM
Unknown Object (File)
Sat, Nov 15, 9:58 AM
Unknown Object (File)
Sat, Nov 15, 9:58 AM
Unknown Object (File)
Sat, Nov 15, 7:16 AM
Unknown Object (File)
Oct 26 2025, 7:54 AM
Unknown Object (File)
Oct 20 2025, 6:55 AM
Unknown Object (File)
Oct 18 2025, 9:37 AM
Unknown Object (File)
Oct 17 2025, 8:36 AM
Subscribers
None

Details

Reviewers
ae
wblock

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ae retitled this revision from to Add sysctl variable kern.geom.part.mbr.enforce_chs that is enabled by default. It can be used to disable automatic alignment to CHS geometry, that GEOM_PART_MBR does..
ae updated this object.
ae edited the test plan for this revision. (Show Details)
ae added a reviewer: wblock.

Nice!

sbin/geom/class/part/gpart.8
1187

Specify how the Master Boot Record (MBR) module does alignment.

1188

If this variable is set to a non-zero value, the module will automatically

1189

recalculate the user-specified offset and size for alignment with the CHS geometry.

ae added a reviewer: ae.
This revision is now accepted and ready to land.Jan 31 2015, 3:44 PM

Committed in r269852.