Re: Destroy GPT partition scheme absolutely, how?

From: Andrey V. Elsukov <bu7cher_at_yandex.ru>
Date: Wed, 28 Sep 2016 21:08:34 +0300
On 26.09.2016 23:51, John Baldwin wrote:
>> Why not just use "gpart destroy -F provider"?
> 
> 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.

If you would did `gpart destroy -F` for GPT, then it would not have
appeared again.
This is very strange problem, how did you created MBR if you have not
destroyed GPT? :)
After this commit it seems very unlikely to reproduce
	https://svnweb.freebsd.org/base?view=revision&revision=292057

Described problem can be reproduced with BSD label.

-- 
WBR, Andrey V. Elsukov


Received on Wed Sep 28 2016 - 16:10:52 UTC

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