svn commit: r214352 - in head: sbin/geom/class/part sys/geom/part

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Oct 25 20:29:41 UTC 2010


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
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20101025/8f35059f/attachment.pgp


More information about the svn-src-all mailing list