Re: Destroy GPT partition scheme absolutely, how?

From: Warner Losh <imp_at_bsdimp.com>
Date: Mon, 26 Sep 2016 23:58:41 -0600
On Mon, Sep 26, 2016 at 11:06 PM, O'Connor, Daniel <darius_at_dons.net.au> wrote:
>
>> On 27 Sep 2016, at 14:28, Warner Losh <imp_at_bsdimp.com> wrote:
>> dd of 2MB of zeros to the start and end of the disk. That will destroy
>> pretty much everything. For SSDs, sometimes you can do the same with
>> TRIMs only faster (other times they are slower or unreliable).
>
> Yeah, but it would be nicer to not have to know that particular magic incarnation :)

Disk formatting has always been 3 parts magic, 2 parts luck and 1 part skill :)

It doesn't fit nicely into geom because metadata can live elsewhere.

I forgot to add the caveat not to try this on a disk that is part of a
RAID volume.

Warner
Received on Tue Sep 27 2016 - 03:58:43 UTC

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