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)
Sat, Dec 27, 9:53 PM
Unknown Object (File)
Fri, Dec 26, 8:06 AM
Unknown Object (File)
Fri, Dec 26, 1:14 AM
Unknown Object (File)
Nov 11 2025, 10:49 PM
Unknown Object (File)
Nov 11 2025, 9:59 PM
Unknown Object (File)
Nov 4 2025, 8:55 AM
Unknown Object (File)
Oct 31 2025, 2:40 AM
Unknown Object (File)
Oct 30 2025, 9:40 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 Not Applicable
Unit
Tests Not Applicable