K 10 svn:author V 2 ae K 8 svn:date V 27 2010-11-08T10:08:30.960077Z K 7 svn:log V 574 MFC r214352 adapted to stable/8: 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. Approved by: kib (mentor) END