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 sbin: Remove ancient SCCS tags. 2023-11-26 22:23:29 -07:00
bectl.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
bectl.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
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 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00