From d81972b85738dc54b947f23e1e22bcfe462c8bf4 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 17 Oct 2016 13:06:57 +0200 Subject: [PATCH] block: remove handling of name property There is no concept of a "NAME" property within libblkid, the value previously used was the name parameter of blkid_probe_set_uuid_as() which does not denote the file system name, but the kind of UUID to store. Since the value never makes sense, stop using it when reporting block information. Signed-off-by: Jo-Philipp Wich --- block.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/block.c b/block.c index 9d22458..9de8343 100644 --- a/block.c +++ b/block.c @@ -657,9 +657,6 @@ static int print_block_info(struct probe_info *pr) if (pr->label) printf(" LABEL=\"%s\"", pr->label); - if (pr->name) - printf(" NAME=\"%s\"", pr->name); - if (pr->version) printf(" VERSION=\"%s\"", pr->version); -- 2.30.2