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
F110699491: D26048.diff
Sat, Feb 22, 1:27 AM
Unknown Object (File)
Wed, Feb 19, 11:19 PM
Unknown Object (File)
Tue, Feb 18, 12:16 AM
Unknown Object (File)
Sun, Feb 16, 8:00 AM
Unknown Object (File)
Mon, Jan 27, 7:53 AM
Unknown Object (File)
Jan 23 2025, 7:31 AM
Unknown Object (File)
Jan 20 2025, 1:58 AM
Unknown Object (File)
Dec 13 2024, 12:25 AM

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