freebsd-src/sbin/bectl
R. Christian McDonald 5086b6ec32
libbe: handle destroying/renaming temporary/bootonce boot environments
When a temporary/bootonce boot environment is renamed, we need to also
update the bootenv nvlist on-disk to reflect the new name. Additionally,
when a temporary/bootonce boot environment is destroyed, we also need to
clear out the on-disk state.

Reviewed by:	kevans
Approved by:	kp
MFC after:	1 week
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D43591
2024-01-29 10:07:49 -05:00
..
tests libbe: handle destroying/renaming temporary/bootonce boot environments 2024-01-29 10:07:49 -05:00
bectl.8
bectl.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
bectl.h
bectl_jail.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
bectl_list.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
Makefile
Makefile.depend