aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Reifenberger <mr@FreeBSD.org>2021-02-15 19:23:32 +0000
committerMichael Reifenberger <mr@FreeBSD.org>2021-02-15 19:23:32 +0000
commit8d06c3e7a40831ac139d83b85b282206229b426f (patch)
tree9c2fd585f06deeb9168cb5b1c0bdfb46a02aa3c3 /lib
parent41032835dc2d489ec7841d7529f74f6389329cd3 (diff)
downloadsrc-8d06c3e7a40831ac139d83b85b282206229b426f.tar.gz
src-8d06c3e7a40831ac139d83b85b282206229b426f.zip
Improve size readability.
Preserve more space for swap devise names. Prevent line overflow with long devise name. Don't draw a bar when swap is not used at all. Simplify and optimize code. Change the label to end at end of 100%. PR: 251655 MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D27496
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/getbsize.35
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/gen/getbsize.3 b/lib/libc/gen/getbsize.3
index c0b46bf9e235..acbe409a8456 100644
--- a/lib/libc/gen/getbsize.3
+++ b/lib/libc/gen/getbsize.3
@@ -45,10 +45,9 @@ The
.Fn getbsize
function returns a preferred block size for reporting by system utilities
.Xr df 1 ,
-.Xr du 1 ,
-.Xr ls 1
+.Xr du 1
and
-.Xr systat 1 ,
+.Xr ls 1 ,
based on the value of the
.Ev BLOCKSIZE
environment variable.