freebsd-dev/sbin/geom
Andrey V. Elsukov 6305a96c20 Implement "force" (-F) option for gpart destroy verb.
This option doesn't passed to kernel and handled in user-space.
With -F option gpart creates new "delete" request for each
partition in table. Each request has flags="X" that disables
auto-commit feature. Last request is the original "destroy" request.
It has own flags and can have disabled or enabled auto-commit feature.
If error is occurred when deleting partitions, then new "undo" request
is created and all changes will be rolled back.

Approved by:	kib (mentor)
2010-09-24 08:40:43 +00:00
..
class Implement "force" (-F) option for gpart destroy verb. 2010-09-24 08:40:43 +00:00
core Remove dead code. 2010-09-14 20:54:22 +00:00
misc - Simplify code by using g_*() API. 2010-09-23 12:04:12 +00:00
Makefile Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
Makefile.inc Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00