summaryrefslogtreecommitdiffstats
path: root/rescue/bin/lsparts
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/bin/lsparts')
-rwxr-xr-xrescue/bin/lsparts2
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/bin/lsparts b/rescue/bin/lsparts
index cba9c6cb8..72f1c4cee 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) [%s]\n", formatXiB($_->{size} * 512), $type->{fs_type}, fs::type::part2type_name($type), $type->{device_LABEL};
+ printf "$_->{dev}: %6s, fs %s (%s) [%s] (%s sectors)\n", formatXiB($_->{size} * 1024), $type->{fs_type}, fs::type::part2type_name($type), $type->{device_LABEL}, $_->{size};
}
}
}