HomeFreeBSD

bectl: make mount subcommand less verbose

Description

bectl: make mount subcommand less verbose

The mount subcommand currently produces output such as:

  1. bectl mount <bootenv> Successfully mounted <bootenv> at <mountpoint>

This commit changes it to only print the mountpoint:

  1. bectl mount <bootenv> <mountpoint>

This makes it easier to script the mount subcommand. If an error occurs
while mounting, an error message is printed to stderr and bectl will
exit with a non-zero value.

PR: 273180
Reviewed by: kevans, asomers
Differential Revision: https://reviews.freebsd.org/D41562

Details

Provenance
rewAuthored on Aug 23 2023, 6:39 PM
Reviewer
kevans
Differential Revision
D41562: bectl: make mount subcommand less verbose
Parents
rG0fd310c83c6b: arm64: Remove duplicate fdt build option
Branches
Unknown
Tags
Unknown