diff options
author | ken <ken@FreeBSD.org> | 2015-03-18 20:54:54 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 2015-03-18 20:54:54 +0000 |
commit | dbd87e5d3df8c59ff3ee4a4dd30cf04bfe5778eb (patch) | |
tree | 23ab52b1db8bceb924e94dd8c6ac0b728dae5651 /tools/regression | |
parent | 1cc0a333e959a384a88704ae1e68dfc880df51e7 (diff) | |
download | FreeBSD-src-dbd87e5d3df8c59ff3ee4a4dd30cf04bfe5778eb.zip FreeBSD-src-dbd87e5d3df8c59ff3ee4a4dd30cf04bfe5778eb.tar.gz |
Improve the mt(1) rblim display.
The granularity reported by READ BLOCK LIMITS is an exponent, not a
byte value. So a granularity of 0 means 2^0, or 1 byte. A
granularity of 1 means 2^1, or 2 bytes.
Print out the individual block limits on separate lines to improve
readability and avoid exceeding 80 columns.
usr.bin/mt/mt.c:
Fix and improve the 'mt rblim' output. Add a MT_PLURAL()
macro so we can print "byte" or "bytes" as appropriate.
Sponsored by: Spectra Logic
MFC after: 4 days
Diffstat (limited to 'tools/regression')
0 files changed, 0 insertions, 0 deletions