On Mon, Oct 25, 2010 at 04:23:35PM +0000, Andrey V. Elsukov wrote: > Author: ae > Date: Mon Oct 25 16:23:35 2010 > New Revision: 214352 > URL: http://svn.freebsd.org/changeset/base/214352 > > Log: > Reimplemented "gpart destroy -F". Now it does all work in kernel. > This was needed for recover implementation. > > Implement the recover command for GPT. Now GPT will marked as > corrupt when any of three types of corruption will be detected: > 1. Damaged primary GPT header or table > 2. Damaged secondary GPT header or table > 3. Secondary header is not located in the last LBA > Marked GPT becomes read-only. Any changes with corrupt table > are prohibited. Only "destroy" and "recover" commands are allowed.
Another corruption worth mentioning is when primary and secondary GPT header/table differ. -- Pawel Jakub Dawidek http://www.wheelsystems.com [email protected] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am!
pgpS2X6sTgHHa.pgp
Description: PGP signature
