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)
Mon, Oct 14, 6:32 AM
Unknown Object (File)
Sep 28 2024, 1:24 AM
Unknown Object (File)
Sep 26 2024, 9:19 AM
Unknown Object (File)
Sep 26 2024, 6:13 AM
Unknown Object (File)
Sep 21 2024, 9:39 AM
Unknown Object (File)
Sep 7 2024, 10:59 AM
Unknown Object (File)
Sep 5 2024, 3:22 AM
Unknown Object (File)
Sep 3 2024, 7:11 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