Date: Wed, 28 Sep 2016 21:08:34 +0300 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: John Baldwin <jhb@freebsd.org>, freebsd-current@freebsd.org Cc: Ngie Cooper <yaneurabeya@gmail.com>, Ernie Luzar <luzar722@gmail.com>, "Hartmann, O." <ohartman@mail.zedat.fu-berlin.de> Subject: Re: Destroy GPT partition scheme absolutely, how? Message-ID: <aae98e97-33a9-ea76-3658-f6601b1597f5@yandex.ru> In-Reply-To: <1785064.lgVzRW13Wf@ralph.baldwin.cx> References: <20160926150109.0d0d793e@hermann> <57E92726.2020605@gmail.com> <5484D815-4B17-456B-BA60-CC6F4E97AFE3@gmail.com> <1785064.lgVzRW13Wf@ralph.baldwin.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --f81KM58258ob6VDDO4klCKCDSiik0UjRO Content-Type: multipart/mixed; boundary="PuhroITUpP9DiKi0dCn6PBebtNpvsgvCQ"; protected-headers="v1" From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: John Baldwin <jhb@freebsd.org>, freebsd-current@freebsd.org Cc: Ngie Cooper <yaneurabeya@gmail.com>, Ernie Luzar <luzar722@gmail.com>, "Hartmann, O." <ohartman@mail.zedat.fu-berlin.de> Message-ID: <aae98e97-33a9-ea76-3658-f6601b1597f5@yandex.ru> Subject: Re: Destroy GPT partition scheme absolutely, how? References: <20160926150109.0d0d793e@hermann> <57E92726.2020605@gmail.com> <5484D815-4B17-456B-BA60-CC6F4E97AFE3@gmail.com> <1785064.lgVzRW13Wf@ralph.baldwin.cx> In-Reply-To: <1785064.lgVzRW13Wf@ralph.baldwin.cx> --PuhroITUpP9DiKi0dCn6PBebtNpvsgvCQ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 26.09.2016 23:51, John Baldwin wrote: >> Why not just use "gpart destroy -F provider"? >=20 > That doesn't always work. In particular, if a disk was partitioned wit= h GPT > and then you use normal MBR on it afterwards, the 'gpart destroy -F' of= the > MBR will leave most of the GPT intact and the disk will come up with th= e old > GPT partitions, not as a raw disk. If you would did `gpart destroy -F` for GPT, then it would not have appeared again. This is very strange problem, how did you created MBR if you have not destroyed GPT? :) After this commit it seems very unlikely to reproduce https://svnweb.freebsd.org/base?view=3Drevision&revision=3D292057 Described problem can be reproduced with BSD label. --=20 WBR, Andrey V. Elsukov --PuhroITUpP9DiKi0dCn6PBebtNpvsgvCQ-- --f81KM58258ob6VDDO4klCKCDSiik0UjRO 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/ iQEvBAEBCAAZBQJX7AcmEhxidTdjaGVyQHlhbmRleC5ydQAKCRABxeoEEMiheutP B/0WikuAzS8p6EXsqh+nSPIGQVt1ZtMLCVoxiqyxyYNOV18KfTWWJSgli6tomh4m Nu0GG+rUjbl2eP6dcQDSxqQBOtVRivgL1PmEWbTe6cD24Kv77SUh1PHtHxrC5F6C iT2wPUf7XJpT+zjWE1j78wUKqLKgE6N1wOWc/RactAJPqvpy4fASJDCMmeUr7WXs pJyDxgRkHbNDw1PuLugx67RYkJqfVHAKFsk6QdsFJdPI1o9VrEyRlUo39xBj04Hr KjIVlC47z0GTUX5SH1gOnD7ef2zE59IhAqBgpjeExeBpe51lixK1/sgnh/Ddd6Ev xvzS6g60x8ceMqgmLtGpsGku =uYkw -----END PGP SIGNATURE----- --f81KM58258ob6VDDO4klCKCDSiik0UjRO--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aae98e97-33a9-ea76-3658-f6601b1597f5>