HomeFreeBSD

align nfsdumpstate column output

Description

align nfsdumpstate column output

There are scenarios where an NFS client will mount an NFSv4 export
without specifying a callback address.

When running nfsdumpstate under this circumstance, the column output is
shifted incorrectly which places the "ClientID" value underneath the
"Clientaddr" column.

This diff is a small cosmetic change that prints a blank in the
"Clientaddr" column and ensures the data for the columns are aligned
appropriately.

Submitted by: Caleb St. John
Reviewed by: sef (previous version)
MFC after: 3 days
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D18958

(cherry picked from commit efad9c8ba3cec7f6e39b128b90afab70701fd8d9)

Details

Provenance
yocalebo_gmail.comAuthored on Mar 24 2021, 8:33 PM
freqlabsCommitted on Mar 29 2021, 1:33 PM
Reviewer
sef
Differential Revision
D18958: align nfsdumpstate column output
Parents
rG2fbdbfaa0c44: Hyper-V: hn: Initialize the internal field of per packet info on tx path
Branches
Unknown
Tags
Unknown