Date: Mon, 11 Oct 2010 09:39:32 +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: <201010110939.o9B9dqP8036644@repoman.freebsd.org>
index | next in thread | raw e-mail
ae 2010-10-11 09:39:32 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sbin/geom/class/part geom_part.c gpart.8
Log:
SVN rev 213684 on 2010-10-11 09:39:32Z by ae
GPART's control interface between kernel and user space has been
changed in r212614. Perform partial MFC of r213097 adapted to the
stable ABI:
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.20.2.10 +98 -13 src/sbin/geom/class/part/geom_part.c
1.7.2.8 +4 -1 src/sbin/geom/class/part/gpart.8
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010110939.o9B9dqP8036644>
