I have some questions regarding bectl(8) after reading the corresponding manual.
1. The section for
2. The section for
Is this the way to go? Reboots are of course not always necessary - I'm more asking about the overall process involving the use of bectl(8).
1. The section for
bectl create
tells us that the -r
flag creates a recursive boot environment. I'm not sure whether I understand what this exactly implies. So far I've only used bectl create
without any additional flags. Is this analogous to creating a recursive ZFS snapshot? What are usecases for this?2. The section for
bect destroy
tells us that the -o
flag will destroy the origin as well. What exactly is the origin? I assume that this would be the previous boot environment? That begs these questions:- If I have multiple preceding BEs, will the
-o
flag only delete the "closest" previous BE or all preceding ones? - What happens if I have preceeding BEs and I destroy one without the
-o
flag? Is this analogous to destroying a ZFS snapshot where previous and later snapshots will be unaffected?
Code:
bectl create 20220312
bectl activate 20220312
shutdown -r now
# perform actual update (eg. freebsd-update or update from source)
shutdown -r now