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)
May 17 2024, 1:58 AM
Unknown Object (File)
Mar 19 2024, 4:53 AM
Unknown Object (File)
Mar 19 2024, 3:21 AM
Unknown Object (File)
Mar 12 2024, 5:57 PM
Unknown Object (File)
Feb 27 2024, 10:37 PM
Unknown Object (File)
Dec 20 2023, 5:58 AM
Unknown Object (File)
Nov 10 2023, 2:00 AM
Unknown Object (File)
Oct 9 2023, 12:50 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