From c0b634dd6e8585e7ee85fb8f1965476ae0ad58e8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 30 Apr 2015 10:09:54 -0400 Subject: display label too (mga#8854) --- rescue/NEWS | 1 + rescue/bin/lsparts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'rescue') diff --git a/rescue/NEWS b/rescue/NEWS index 459f6cf61..1f6f24a81 100644 --- a/rescue/NEWS +++ b/rescue/NEWS @@ -1,4 +1,5 @@ - lsparts (mga#8854): + o display label too o silent run_program Version 1.51 - 15 April 2015 by Thierry Vignaud diff --git a/rescue/bin/lsparts b/rescue/bin/lsparts index 690437fb0..cba9c6cb8 100755 --- a/rescue/bin/lsparts +++ b/rescue/bin/lsparts @@ -40,7 +40,7 @@ foreach (fs::proc_partitions::read_raw()) { $_->{device} = $_->{dev}; local $::isStandalone = 1; # silent run_program if (my $type = fs::type::type_subpart_from_magic($_)) { - printf "$_->{dev}: %6s, fs %s (%s)\n", formatXiB($_->{size} * 512), $type->{fs_type}, fs::type::part2type_name($type); + printf "$_->{dev}: %6s, fs %s (%s) [%s]\n", formatXiB($_->{size} * 512), $type->{fs_type}, fs::type::part2type_name($type), $type->{device_LABEL}; } } } -- cgit v1.2.1