freebsd-nq/sys/geom/part
Andrey V. Elsukov e7926a3703 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.

Discussed with:	geom@ (mostly silence)
Tested by:	Ilya A. Arhipov
Approved by:	mav (mentor)
MFC after:	2 weeks
2010-10-25 16:23:35 +00:00
..
g_part_apm.c Teach gpart about bootcode on APM. 2010-05-16 22:21:33 +00:00
g_part_bsd.c Don't leak memory on destruction. 2010-06-02 17:17:11 +00:00
g_part_ebr.c The canonical way to print __func__ when using KASSERT() is to write 2010-10-13 11:35:59 +00:00
g_part_gpt.c Reimplemented "gpart destroy -F". Now it does all work in kernel. 2010-10-25 16:23:35 +00:00
g_part_if.m Reimplemented "gpart destroy -F". Now it does all work in kernel. 2010-10-25 16:23:35 +00:00
g_part_mbr.c The canonical way to print __func__ when using KASSERT() is to write 2010-10-13 11:35:59 +00:00
g_part_pc98.c Some schemes can allocate memory for internal purposes but when 2010-09-25 18:27:29 +00:00
g_part_vtoc8.c Fix some whitespace nits. 2010-05-24 17:33:02 +00:00
g_part.c Reimplemented "gpart destroy -F". Now it does all work in kernel. 2010-10-25 16:23:35 +00:00
g_part.h Reimplemented "gpart destroy -F". Now it does all work in kernel. 2010-10-25 16:23:35 +00:00