summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-20 12:42:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-20 12:42:48 +0000
commit3cb163d3c89fda9b95d9bd1d40b373895effe1f4 (patch)
treedf6c99d8c3efb5644fc7e2e58a7ea9d71fa923e1 /perl-install/fsedit.pm
parente7beff20465926e54a6ecc1ee4fee2fc21b8e220 (diff)
downloaddrakx-3cb163d3c89fda9b95d9bd1d40b373895effe1f4.tar
drakx-3cb163d3c89fda9b95d9bd1d40b373895effe1f4.tar.gz
drakx-3cb163d3c89fda9b95d9bd1d40b373895effe1f4.tar.bz2
drakx-3cb163d3c89fda9b95d9bd1d40b373895effe1f4.tar.xz
drakx-3cb163d3c89fda9b95d9bd1d40b373895effe1f4.zip
don't let diskdrake detect ext3/reiserfs/jfs/xfs on a type 0x7 partition
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 10bc974df..3e2049e64 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -221,7 +221,7 @@ sub hds {
#- special case for type overloading (eg: reiserfs is 0x183)
foreach (grep { isExt2($_) || $_->{type} == 0x7 } partition_table::get_normal_parts($hd)) {
my $type = typeOfPart($_->{device});
- $_->{type} = $type if $type > 0x100 || $type && $hd->isa('partition_table::gpt');
+ $_->{type} = $type if ($type & 0xff) == $_->{type} || $type && $hd->isa('partition_table::gpt');
}
push @hds, $hd;
}