freebsd-dev/sbin/bectl
Kyle Evans 77b4126ce6 bectl(8): Add -o flag to destroy to clean up the origin snapshot of BE
We can't predict when destruction of origin is needed, and currently we have
a precedent for not prompting for things. Leave the decision up to the user
of bectl(8) if they want the origin snapshot to be destroyed or not.

Emits a warning when -o isn't used and an origin snapshot is left to be
cleaned up, for the time being. This is handy when one drops the -o flag but
really did want to clean up the origin.

A couple of -e ignore's have been sprinkled around the test suite for places
that we don't care that the origin's not been cleaned up. -o functionality
tests will be added in the future, but are omitted for now to reduce
conflicts with work in flight to fix bits of the tests.

Reported by:	Shawn Webb
MFC after:	1 week
2019-02-11 04:00:01 +00:00
..
tests bectl(8) test: Force destroy the zpool in cleanup 2019-01-29 04:08:49 +00:00
bectl_jail.c libbe(3): Change be_mount to mount/unmount child datasets 2019-01-10 03:27:20 +00:00
bectl_list.c bectl(8): Use strcmp, rather than trying to directly compare 2018-08-12 00:09:52 +00:00
bectl.8 bectl(8): Add -o flag to destroy to clean up the origin snapshot of BE 2019-02-11 04:00:01 +00:00
bectl.c bectl(8): Add -o flag to destroy to clean up the origin snapshot of BE 2019-02-11 04:00:01 +00:00
bectl.h bectl(8): Split list functionality out into its own file as well 2018-08-06 03:41:52 +00:00
Makefile bectl(8): Add some regression tests 2018-11-19 02:30:12 +00:00