Date: Fri, 24 Sep 2010 08:40:43 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/geom/class/part geom_part.c gpart.8 Message-ID: <201009240841.o8O8f3db080564@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ae 2010-09-24 08:40:43 UTC FreeBSD src repository Modified files: sbin/geom/class/part geom_part.c gpart.8 Log: SVN rev 213097 on 2010-09-24 08:40:43Z by ae 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) Revision Changes Path 1.34 +102 -14 src/sbin/geom/class/part/geom_part.c 1.15 +4 -1 src/sbin/geom/class/part/gpart.8
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009240841.o8O8f3db080564>