freebsd-dev/sbin/bectl
Kyle Evans 8f5c6c31ae libbe(3): promote dependent clones when destroying an environment
When removing a boot environment iterate over the dependents and process the
snapshots by grabbing any clones. Promote the clones we found and then
remove the target environment.

This fixes the ability to destroy a boot environment when it has been used
to spawn one or more other boot environments.

PR:		242592
Submitted by:	Wes Maag <jwmaag gmail com> (with changes by myself)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D22953
2020-01-02 18:46:33 +00:00
..
tests libbe(3): promote dependent clones when destroying an environment 2020-01-02 18:46:33 +00:00
bectl_jail.c bectl(8): Don't accept jid=0 from jail_getid 2019-06-02 14:05:51 +00:00
bectl_list.c bectl(8): initialize reverse earlier 2019-09-09 18:17:30 +00:00
bectl.8 bectl(8): Add a "check" command 2019-09-11 13:27:10 +00:00
bectl.c Capitalize some user-visible output messages in 2019-11-30 14:17:45 +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
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00