Destroy GPT partition scheme absolutely, how?

Warner Losh imp at bsdimp.com
Tue Sep 27 05:58:43 UTC 2016


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


More information about the freebsd-current mailing list