Page MenuHomeFreeBSD

bectl: document the -r flag to bectl
ClosedPublic

Authored by kevans on Apr 20 2023, 4:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 10 2023, 2:00 AM
Unknown Object (File)
Oct 9 2023, 12:50 AM
Unknown Object (File)
Aug 15 2023, 2:25 AM
Unknown Object (File)
Aug 15 2023, 12:48 AM
Unknown Object (File)
Jun 19 2023, 8:51 PM
Unknown Object (File)
Jun 4 2023, 2:45 PM
Unknown Object (File)
May 2 2023, 7:59 AM
Unknown Object (File)
Apr 26 2023, 5:34 AM

Details

Summary

Independent of all of the commands, bectl itself takes an -r flag that
specifies the BE root to use. This was originally added to facilitate
testing, but it was later discovered to be incredibly useful in other
scenarios; e.g., trying to recover some boot environments in rescue
media.

The "BE root" described here is the parent dataset that holds boot
environments, but I've no idea if that's an accepted definition for that
dataset.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 51050
Build 47941: arc lint + arc unit

Event Timeline

kevans added a subscriber: gallatin.

Tagging @gallatin as well for the "had to painfully discover this independently" perspective- do you think this is descriptive enough to paint a picture for where one might require it?

This revision is now accepted and ready to land.Apr 20 2023, 5:30 AM

Better UX FTW!

sbin/bectl/bectl.8
115

Clearer to EFL speakers, I think.

kevans marked an inline comment as done.

Landed with a typo in the differential revision line