From 3cb163d3c89fda9b95d9bd1d40b373895effe1f4 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 20 Feb 2003 12:42:48 +0000 Subject: don't let diskdrake detect ext3/reiserfs/jfs/xfs on a type 0x7 partition --- perl-install/fsedit.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/fsedit.pm') 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; } -- cgit v1.2.1