Date: Thu, 10 Dec 2015 20:42:01 +0300 From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: Ian Lepore <ian@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r292058 - head/sbin/geom/class/part Message-ID: <5669B969.5020605@FreeBSD.org> In-Reply-To: <1449767147.1358.62.camel@freebsd.org> References: <201512101037.tBAAbDMq065138@repo.freebsd.org> <1449767147.1358.62.camel@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --L69AkuRfL2B09hcGp98CXHjBGIL44xe4R Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 10.12.15 20:05, Ian Lepore wrote: > On Thu, 2015-12-10 at 10:37 +0000, Andrey V. Elsukov wrote: >> Author: ae >> Date: Thu Dec 10 10:37:12 2015 >> New Revision: 292058 >> URL: https://svnweb.freebsd.org/changeset/base/292058 >> >> Log: >> Remove a note about damaged PMBR. Now GPT will be detected >> automatically >> with such corruption. >> =20 >> MFC after: 1 month >=20 > Will all of these changes add up to it being impossible to make a > device NOT be recognized as gpt once it has had gpt on it? > It's typical to dd some zeroes to the start of a volume to clean out > old info, but if geom is going to aggressively ressurect a purposely > -nuked GPT based on the backup info (which is hard to find and dd over > by hand) this is going to add up to a lot of frustration for those of > us who have to frequently work with regenerating sdcard and CF images. If you want to make device to not be recognized as GPT, you should use 'gpart destroy -F <device>' this will destroy first two sectors where PMBR and primary GPT header are located, also it will destroy the last sector with backup GPT. --=20 WBR, Andrey V. Elsukov --L69AkuRfL2B09hcGp98CXHjBGIL44xe4R 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 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWablpAAoJEAHF6gQQyKF6J14H/jx2Fj383zx2WTvSHVWfVHIq l+z3+C3dH90nw3K7m7SJ3/GJ1J4iZl57zQJAldVDofGQ6LNld2Kb7K1zvZeTIUxj CeBR5WLvZuO1lqjIpSIn8bhirDXND3eSFOvsZG3yzoSijbvgx/5IIHaBN3mYL8y7 YsLsU2AjspRBKeLTFr3sfiJe7EOBL5heAoHPtKaAr5zIiTPdZ18Wb39XkvDE2uqd g3BNGVNjQI+zn2QdRYmN0KKA77SRI8/BJviIVfZS3D0RhMYiiXHhabmudrjv+uOg DfxCg0zx6KG5j1iBnCx83Towr0Ow8a71m4/9k7B4jPSKFNVCpw9mfhwn4xwlO5E= =Zt6M -----END PGP SIGNATURE----- --L69AkuRfL2B09hcGp98CXHjBGIL44xe4R--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5669B969.5020605>