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
F83685332: D26048.id.diff
Mon, May 13, 3:05 PM
Unknown Object (File)
Tue, Apr 23, 12:17 PM
Unknown Object (File)
Tue, Apr 23, 10:31 AM
Unknown Object (File)
Mar 28 2024, 9:22 PM
Unknown Object (File)
Mar 12 2024, 8:52 PM
Unknown Object (File)
Jan 16 2024, 2:59 AM
Unknown Object (File)
Dec 25 2023, 2:14 PM
Unknown Object (File)
Aug 24 2023, 6:20 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