Re: Destroy GPT partition scheme absolutely, how?

From: O'Connor, Daniel <darius_at_dons.net.au>
Date: Tue, 27 Sep 2016 12:16:39 +0930
> On 27 Sep 2016, at 06:21, John Baldwin <jhb_at_FreeBSD.org> wrote:
> That doesn't always work.  In particular, if a disk was partitioned with 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 the old
> GPT partitions, not as a raw disk.

I wonder how feasible it would be to have a command which runs destroy for every known partition scheme on a particular device..

Sure there would be some duplicate zeroing but it's not likely to be significantly slower and considerably more robust.

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
Received on Tue Sep 27 2016 - 00:47:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:08 UTC