]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make lsdev -v output line up in neat columns by using a fixed width for
authorian <ian@FreeBSD.org>
Sun, 17 Feb 2019 23:46:11 +0000 (23:46 +0000)
committerian <ian@FreeBSD.org>
Sun, 17 Feb 2019 23:46:11 +0000 (23:46 +0000)
commit021331dbf4e4596a4d9d51c0d5bba54932b976f8
tree4932cb6e9248d0abf9cb06bc286cbc279278c796
parent1eaf4e2306fb40f3bb6806392ff2973f38ed31cb
Make lsdev -v output line up in neat columns by using a fixed width for
the size field and a tab between the partition type and the size.

Changes this

  disk devices:
        disk0 (MMC)
        disk0s1: DOS/Windows            49MB
        disk0s2: FreeBSD                14GB
        disk0s2a: FreeBSD UFS         14GB
        disk0s2b: Unknown             2048KB
        disk0s2d: FreeBSD UFS         2040KB

to this

  disk devices:
        disk0 (MMC)
        disk0s1: DOS/Windows      49MB
        disk0s2: FreeBSD          14GB
        disk0s2a: FreeBSD UFS     14GB
        disk0s2b: Unknown       2048KB
        disk0s2d: FreeBSD UFS   2040KB
stand/common/disk.c