Page MenuHomeFreeBSD

bectl_list: align column output for a mountpoint properly
ClosedPublic

Authored by rew on Aug 12 2020, 7:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 23, 6:07 PM
Unknown Object (File)
Mon, Jul 13, 10:24 PM
Unknown Object (File)
Mon, Jul 13, 3:45 PM
Unknown Object (File)
Sat, Jul 11, 8:41 PM
Unknown Object (File)
Jun 24 2026, 12:43 AM
Unknown Object (File)
Jun 23 2026, 9:39 PM
Unknown Object (File)
Jun 23 2026, 6:35 PM
Unknown Object (File)
Jun 19 2026, 3:34 PM

Details

Summary

The output for bectl list is not aligned when the mounted property becomes a long enough
string.

Set the 'Mountpoint' column width based off the boot environment dataset with
the longest mounted property.

This addresses PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241064

Test Plan

All tests passed.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32954
Build 30349: arc lint + arc unit