diff options
| author | Karel Zak <kzak@redhat.com> | 2012-03-20 11:04:48 +0100 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2012-03-20 11:04:48 +0100 |
| commit | 451d76463c6afd732ae488ec23d68d7ec22d0bee (patch) | |
| tree | c44e88e9054da6675bca29ccc5e2e7830148c378 /misc-utils/lsblk.c | |
| parent | cd4ed46f984f59d20af62107f85988548884ac2d (diff) | |
| download | util-linux-451d76463c6afd732ae488ec23d68d7ec22d0bee.tar.gz | |
misc: clenaup SIZE columns in lsblk and findmnt
Note that lib/tt.c will never truncate columns without TT_FL_TRUNC or
relative column width. So it's fine to set small width for columns
with SIZEs, the defined width is minimal width.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/lsblk.c')
| -rw-r--r-- | misc-utils/lsblk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/lsblk.c b/misc-utils/lsblk.c index 9c0be27493..4ff0102db6 100644 --- a/misc-utils/lsblk.c +++ b/misc-utils/lsblk.c @@ -112,7 +112,7 @@ static struct colinfo infos[] = { [COL_RM] = { "RM", 1, TT_FL_RIGHT, N_("removable device") }, [COL_ROTA] = { "ROTA", 1, TT_FL_RIGHT, N_("rotational device") }, [COL_MODEL] = { "MODEL", 0.1, TT_FL_TRUNC, N_("device identifier") }, - [COL_SIZE] = { "SIZE", 6, TT_FL_RIGHT, N_("size of the device") }, + [COL_SIZE] = { "SIZE", 5, TT_FL_RIGHT, N_("size of the device") }, [COL_STATE] = { "STATE", 7, TT_FL_TRUNC, N_("state of the device") }, [COL_OWNER] = { "OWNER", 0.1, TT_FL_TRUNC, N_("user name"), }, [COL_GROUP] = { "GROUP", 0.1, TT_FL_TRUNC, N_("group name") }, |
