Re: fdisk(8) vs gpart(8), and gnop

看板FB_hackers作者時間11年前 (2014/06/02 20:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串24/38 (看更多)
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kwwjAOIFnuqI1X8ROvEQgRTC5FTPcDKDI Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 01.06.2014 18:36, Warren Block wrote: > Thread starts here: > http://lists.freebsd.org/pipermail/freebsd-geom/2014-February/005835.ht= ml >=20 >> 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 justificatio= n >> 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. >=20 > 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. --=20 WBR, Andrey V. Elsukov --kwwjAOIFnuqI1X8ROvEQgRTC5FTPcDKDI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJTjGebAAoJEAHF6gQQyKF6gCsH/i3XRwflxMgfE+wbN0wtQdQ/ lZoFQDvNVpkGn5pkCSeqTtSrHpWyT5AoAza6G1mQmEkPhlVy4lFd3Umhs4eceJf3 uaSPjFeFfCU6enJghG3s18xheejFCY36kNZNgK5XLlXcYXL1fCnOhh0NQab+7/rT DgZjegWGNdvi43xaskV2S8Qc1GxuYobHPW+wy8I2USfRsAWMhfXW9Pu4OT9HXavy kibWKtqTJ7kxhovk3KdfOUsErvOFElcIk1w2Fvb7Mk7kV/eBB11LEXeN+4ELtlHW dxsFQoEhaE8DfaMk/kZH+3L1Zpd+YaHJKTbDulebPOC5gK8Wp/RZthp2lf9yFxo= =YQ0W -----END PGP SIGNATURE----- --kwwjAOIFnuqI1X8ROvEQgRTC5FTPcDKDI--
文章代碼(AID): #1JZ6x353 (FB_hackers)
討論串 (同標題文章)
文章代碼(AID): #1JZ6x353 (FB_hackers)