summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-07-01 07:30:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-07-01 07:30:01 +0000
commit53b773a3fdaf347b007f8430ba29489f5ac2c756 (patch)
tree0b34a086e035425ddc1dbafc774d1d085cfd02b8 /perl-install/diskdrake/interactive.pm
parent9a0018962f56eb5cbe04c1b892f9bd13c860fbb3 (diff)
downloaddrakx-53b773a3fdaf347b007f8430ba29489f5ac2c756.tar
drakx-53b773a3fdaf347b007f8430ba29489f5ac2c756.tar.gz
drakx-53b773a3fdaf347b007f8430ba29489f5ac2c756.tar.bz2
drakx-53b773a3fdaf347b007f8430ba29489f5ac2c756.tar.xz
drakx-53b773a3fdaf347b007f8430ba29489f5ac2c756.zip
create lvm::pv_physical_extents() and use it
Diffstat (limited to 'perl-install/diskdrake/interactive.pm')
-rw-r--r--perl-install/diskdrake/interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index df957ae56..dcccc1c97 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -1210,7 +1210,7 @@ sub format_part_info {
$info .= N("RAID %s\n", $part->{raid}) if isPartOfRAID($part);
if (isPartOfLVM($part)) {
$info .= sprintf "LVM %s\n", $part->{lvm};
- $info .= sprintf "Used physical extents %d / %d\n", split(' ', lvm::get_pv_field($part, 'pv_pe_alloc_count,pv_pe_count'));
+ $info .= sprintf "Used physical extents %d / %d\n", lvm::pv_physical_extents($part);
}
$info .= N("Loopback file(s):\n %s\n", join(", ", map { $_->{loopback_file} } @{$part->{loopback}})) if isPartOfLoopback($part);
$info .= N("Partition booted by default\n (for MS-DOS boot, not for lilo)\n") if $part->{active} && $::expert;