Destroy GPT partition scheme absolutely, how?
O'Connor, Daniel
darius at dons.net.au
Tue Sep 27 02:47:31 UTC 2016
> 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
More information about the freebsd-current
mailing list