From 0a23f36bd52f14f68cc394c37ef7a9af0c406caa Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 5 Jul 2004 07:47:36 +0000 Subject: big renaming of field {type} to {pt_type}, this will allow defining {fs_type} which will always be a string whereas {pt_type} will always be a number --- perl-install/lvm.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/lvm.pm') diff --git a/perl-install/lvm.pm b/perl-install/lvm.pm index 0770bf2b9..c660e4d95 100644 --- a/perl-install/lvm.pm +++ b/perl-install/lvm.pm @@ -92,10 +92,10 @@ sub get_lvs { [ map { my $device = "$lvm->{VG_name}/$_"; - my $type = -e "/dev/$device" && fsedit::typeOfPart($device); + my $pt_type = -e "/dev/$device" && fsedit::typeOfPart($device); { device => $device, - type => $type || 0x83, + type => $pt_type || 0x83, size => get_lv_size($device) } } @l ]; -- cgit v1.2.1