summaryrefslogtreecommitdiffstats
path: root/rescue/bin
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-04-30 10:09:54 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-04-30 21:26:54 +0200
commitc0b634dd6e8585e7ee85fb8f1965476ae0ad58e8 (patch)
tree246da6e671184eae50329b1d3d37387b22e96ba3 /rescue/bin
parent3154df3a3cd6b944964c1dc30d99c8e3fd763135 (diff)
downloaddrakx-c0b634dd6e8585e7ee85fb8f1965476ae0ad58e8.tar
drakx-c0b634dd6e8585e7ee85fb8f1965476ae0ad58e8.tar.gz
drakx-c0b634dd6e8585e7ee85fb8f1965476ae0ad58e8.tar.bz2
drakx-c0b634dd6e8585e7ee85fb8f1965476ae0ad58e8.tar.xz
drakx-c0b634dd6e8585e7ee85fb8f1965476ae0ad58e8.zip
display label too (mga#8854)
Diffstat (limited to 'rescue/bin')
-rwxr-xr-xrescue/bin/lsparts2
1 files changed, 1 insertions, 1 deletions
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};
}
}
}