]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsblk: add hint that partition start is in sectors
authorKarel Zak <kzak@redhat.com>
Wed, 22 Nov 2023 11:12:01 +0000 (12:12 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 22 Nov 2023 11:12:01 +0000 (12:12 +0100)
Reported-by: Dusty Mabe <dustymabe@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/lsblk.c

index 57590da536ea0ebecf36f027a9ba55b0d16944ac..e45cd977fe4e7c6281c9a772613355c03979b098 100644 (file)
@@ -222,7 +222,7 @@ static const struct colinfo infos[] = {
        [COL_SCHED] = { "SCHED", 0.1, 0, N_("I/O scheduler name") },
        [COL_SERIAL] = { "SERIAL", 0.1, SCOLS_FL_TRUNC, N_("disk serial number") },
        [COL_SIZE] = { "SIZE", 5, SCOLS_FL_RIGHT, N_("size of the device"), COLTYPE_SIZE },
-       [COL_START] = { "START", 5, SCOLS_FL_RIGHT, N_("partition start offset"), COLTYPE_NUM },
+       [COL_START] = { "START", 5, SCOLS_FL_RIGHT, N_("partition start offset (in 512-byte sectors)"), COLTYPE_NUM },
        [COL_STATE] = { "STATE", 7, SCOLS_FL_TRUNC, N_("state of the device") },
        [COL_SUBSYS] = { "SUBSYSTEMS", 0.1, SCOLS_FL_NOEXTREMES, N_("de-duplicated chain of subsystems") },
        [COL_TARGETS] = { "MOUNTPOINTS", 0.10, SCOLS_FL_WRAP | SCOLS_FL_NOEXTREMES,  N_("all locations where device is mounted") },