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)
Tue, Oct 21, 6:22 PM
Unknown Object (File)
Tue, Oct 21, 5:55 PM
Unknown Object (File)
Tue, Oct 21, 5:55 PM
Unknown Object (File)
Tue, Oct 21, 5:52 AM
Unknown Object (File)
Tue, Oct 14, 12:58 PM
Unknown Object (File)
Mon, Oct 13, 6:06 AM
Unknown Object (File)
Mon, Oct 6, 11:28 PM
Unknown Object (File)
Fri, Oct 3, 10:13 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