Re: "df /" output missing "Filesystem" after r351187 -> r351211

From: Alan Somers <asomers_at_freebsd.org>
Date: Mon, 19 Aug 2019 07:26:54 -0600
On Mon, Aug 19, 2019 at 5:39 AM David Wolfskill <david_at_catwhisker.org> wrote:
>
> "df" (without the mountpoint specification) is normal, but specifying
> the mountpoint appears to cause a large number of "space" characters
> to be emitted after "Filesystem" in the heading, and the actual
> "filesystem" data to be elided.
>
> E.g.:
>
> freebeast(13.0-C)[1] uname -aUK
> FreeBSD freebeast.catwhisker.org 13.0-CURRENT FreeBSD 13.0-CURRENT #646 r351211M/351211: Mon Aug 19 04:04:14 PDT 2019     root_at_freebeast.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/GENERIC  amd64 1300040 1300040
> freebeast(13.0-C)[2] df
> Filesystem   1K-blocks     Used     Avail Capacity  Mounted on
> /dev/ada0s4a   3044988   583648   2217744    21%    /
> devfs                1        1         0   100%    /dev
> tmpfs          8388608        8   8388600     0%    /tmp
> /dev/ada0s1a   3044988   642532   2158860    23%    /S1
> /dev/ada0s1d   9135164  4464464   3939888    53%    /S1/usr
> /dev/ada0s2a   3044988   642532   2158860    23%    /S2
> /dev/ada0s2d   9135164  4456680   3947672    53%    /S2/usr
> /dev/ada0s3a   3044988   588984   2212408    21%    /S3
> /dev/ada0s3d   9135164  4691128   3713224    56%    /S3/usr
> /dev/ada0s4d   9135164  4840820   3563532    58%    /usr
> /dev/ada0s4e  64995324 44512284  15283416    74%    /common
> /dev/ada0s4g  40614492   797560  36567776     2%    /local
> /dev/ada0s4f   5061628   104292   4552408     2%    /var
> /dev/ada0s4h 129990748 10965504 108625988     9%    /repo
> map -hosts           0        0         0   100%    /net
> freebeast(13.0-C)[3] df /
> Filesystem                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               1K-blocks   Used   Avail Capacity  Mounted on
>    3044988 583648 2217744    21%
> freebeast(13.0-C)[4] df / | hd
> 00000000  46 69 6c 65 73 79 73 74  65 6d 20 20 20 20 20 20  |Filesystem      |
> 00000010  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
> *
> 000008d0  20 20 20 20 20 20 20 20  20 31 4b 2d 62 6c 6f 63  |         1K-bloc|
> 000008e0  6b 73 20 20 20 55 73 65  64 20 20 20 41 76 61 69  |ks   Used   Avai|
> 000008f0  6c 20 43 61 70 61 63 69  74 79 20 20 4d 6f 75 6e  |l Capacity  Moun|
> 00000900  74 65 64 20 6f 6e 0a 20  20 20 33 30 34 34 39 38  |ted on.   304498|
> 00000910  38 20 35 38 33 36 34 38  20 32 32 31 37 37 34 34  |8 583648 2217744|
> 00000920  20 20 20 20 32 31 25 20  20 20 20 0a              |    21%    .|
> 0000092c
> freebeast(13.0-C)[5]
>
> As time permits, I'll try to untangle what's going on, but I confess to
> a lack of familiarity with the code, so it probably won't be as soone as
> I would prefer.  And the behavior could cause scripts to behave ... oddly.
>
> Peace,
> david
> --
> David H. Wolfskill                              david_at_catwhisker.org
> What, exactly, is the contribution of "health insurance" to health care?
>
> See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Probably the result of r351193, and its author is aware of the problem.
-Alan
Received on Mon Aug 19 2019 - 11:27:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:21 UTC