summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-10-24 12:09:18 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-10-24 12:09:18 +0000
commit0ccc4da1a3bb759bd4333e92efb4a72366b5cb00 (patch)
treeb290e15fac55ff286b6bf27e3606fe3846b88155 /perl-install/fsedit.pm
parentd54e4027deca489a72c0bf5b58f81590760572cb (diff)
downloaddrakx-backup-do-not-use-0ccc4da1a3bb759bd4333e92efb4a72366b5cb00.tar
drakx-backup-do-not-use-0ccc4da1a3bb759bd4333e92efb4a72366b5cb00.tar.gz
drakx-backup-do-not-use-0ccc4da1a3bb759bd4333e92efb4a72366b5cb00.tar.bz2
drakx-backup-do-not-use-0ccc4da1a3bb759bd4333e92efb4a72366b5cb00.tar.xz
drakx-backup-do-not-use-0ccc4da1a3bb759bd4333e92efb4a72366b5cb00.zip
(hds): in case of GPT, allow ext2 to be replaced by any kind of partitions (esp. EFI)
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index f5a52ea8f..1061fb7a0 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -159,7 +159,7 @@ sub hds {
#- special case for type overloading (eg: reiserfs is 0x183)
foreach (grep { isExt2($_) } partition_table::get_normal_parts($hd)) {
my $type = typeOfPart($_->{device});
- $_->{type} = $type if $type > 0x100;
+ $_->{type} = $type if $type > 0x100 || $type && $hd->isa('partition_table_gpt');
}
push @hds, $hd;
}