svn commit: r292058 - head/sbin/geom/class/part

Andrey V. Elsukov ae at FreeBSD.org
Thu Dec 10 17:42:20 UTC 2015


On 10.12.15 20:05, Ian Lepore wrote:
> On Thu, 2015-12-10 at 10:37 +0000, Andrey V. Elsukov wrote:
>> Author: ae
>> Date: Thu Dec 10 10:37:12 2015
>> New Revision: 292058
>> URL: https://svnweb.freebsd.org/changeset/base/292058
>>
>> Log:
>>   Remove a note about damaged PMBR. Now GPT will be detected
>> automatically
>>   with such corruption.
>>   
>>   MFC after:	1 month
> 
> Will all of these changes add up to it being impossible to make a
> device NOT be recognized as gpt once it has had gpt on it?
> It's typical to dd some zeroes to the start of a volume to clean out
> old info, but if geom is going to aggressively ressurect a purposely
> -nuked GPT based on the backup info (which is hard to find and dd over
> by hand) this is going to add up to a lot of frustration for those of
> us who have to frequently work with regenerating sdcard and CF images.

If you want to make device to not be recognized as GPT, you should use
'gpart destroy -F <device>' this will destroy first two sectors where
PMBR and primary GPT header are located, also it will destroy the last
sector with backup GPT.

-- 
WBR, Andrey V. Elsukov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 538 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20151210/839eeb6d/attachment.sig>


More information about the svn-src-all mailing list