Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2016 23:58:41 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        "O'Connor, Daniel" <darius@dons.net.au>
Cc:        John Baldwin <jhb@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>,  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:  <CANCZdfpPPOqT0TFhaYiyEvX3hoq%2B=5Jwxdw8xNJ6NTHKRFFAUg@mail.gmail.com>
In-Reply-To: <DDEEDE89-AA72-47E8-9D52-A22A79E6CC2B@dons.net.au>
References:  <20160926150109.0d0d793e@hermann> <57E92726.2020605@gmail.com> <5484D815-4B17-456B-BA60-CC6F4E97AFE3@gmail.com> <1785064.lgVzRW13Wf@ralph.baldwin.cx> <C03C20AC-FE67-4D7C-8239-ED48F844EE38@dons.net.au> <CANCZdfp%2BOq7cYz681zYB%2B1DWqXPgxcKN5kn_YdsgfyDNuQoEOQ@mail.gmail.com> <DDEEDE89-AA72-47E8-9D52-A22A79E6CC2B@dons.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 26, 2016 at 11:06 PM, O'Connor, Daniel <darius@dons.net.au> wrote:
>
>> On 27 Sep 2016, at 14:28, Warner Losh <imp@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpPPOqT0TFhaYiyEvX3hoq%2B=5Jwxdw8xNJ6NTHKRFFAUg>