From owner-svn-src-head@freebsd.org Thu Dec 10 17:42:19 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EF0569D7BDD; Thu, 10 Dec 2015 17:42:19 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from mx2.freebsd.org (mx2.freebsd.org [8.8.178.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx2.freebsd.org", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DECD31195; Thu, 10 Dec 2015 17:42:19 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from butcher-nb.yandex.net (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx2.freebsd.org (Postfix) with ESMTP id 2F4796B773; Thu, 10 Dec 2015 17:42:17 +0000 (UTC) (envelope-from ae@FreeBSD.org) Subject: Re: svn commit: r292058 - head/sbin/geom/class/part To: Ian Lepore , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201512101037.tBAAbDMq065138@repo.freebsd.org> <1449767147.1358.62.camel@freebsd.org> From: "Andrey V. Elsukov" Message-ID: <5669B969.5020605@FreeBSD.org> Date: Thu, 10 Dec 2015 20:42:01 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1449767147.1358.62.camel@freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="L69AkuRfL2B09hcGp98CXHjBGIL44xe4R" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2015 17:42:20 -0000 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 ' 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--