fdisk(8) vs gpart(8), and gnop
Andrey V. Elsukov
ae at FreeBSD.org
Mon Jun 2 12:02:04 UTC 2014
On 01.06.2014 18:36, Warren Block wrote:
> Thread starts here:
> http://lists.freebsd.org/pipermail/freebsd-geom/2014-February/005835.html
>
>> For the longest time geom would warn about "geometry does not match
>> label" that had something to do with different parts of the code
>> calculating different CHS values. Eventually it was decided to remove
>> the unactionable message, and my vague memory is that the justification
>> was basically "because CHS is meaningless to geom and modern BIOSen."
>>
>> If there's some "it would cause problems on this ancient hardware that
>> only 3 people in the world use" (I'm usually one of those people -- we
>> support some old equipment in the field at $work), then maybe there
>> could be a flag that enables the old CHS alignment behavior.
>
> Short form of above: gpart is supposed to hide and handle underlying
> GEOM issues, so it needs an override to be able to create these
> "non-standard" MBRs with slices aligned to arbitrary values.
Hello,
I propose add a sysctl variable kern.geom.part.mbr.enforce_chs which is
set by default. Merge it to all branches, then change it to zero in
head/. User could change it when he wants to use alignment to 4k.
And if there is no objections against this, I can do it.
--
WBR, Andrey V. Elsukov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20140602/c675fd76/attachment.sig>
More information about the freebsd-hackers
mailing list