summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-04-10 21:39:26 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-04-10 21:39:26 +0000
commitde19160a9fc5d7021ce5b9ab516e5af72b3f394e (patch)
treec7ffe589cd6fee23cd298737ff9cbccdaaef5c88 /perl-install/partition_table.pm
parentf8ce98a9ff2c26b6b7e613e4c994382c509aa630 (diff)
downloaddrakx-de19160a9fc5d7021ce5b9ab516e5af72b3f394e.tar
drakx-de19160a9fc5d7021ce5b9ab516e5af72b3f394e.tar.gz
drakx-de19160a9fc5d7021ce5b9ab516e5af72b3f394e.tar.bz2
drakx-de19160a9fc5d7021ce5b9ab516e5af72b3f394e.tar.xz
drakx-de19160a9fc5d7021ce5b9ab516e5af72b3f394e.zip
no_comment
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r--perl-install/partition_table.pm8
1 files changed, 5 insertions, 3 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm
index 68cedfe13..0d9da9cee 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -21,7 +21,7 @@ use partition_table_mac;
use log;
-@important_types = ('Linux native', 'Linux swap', 'DOS FAT16', 'Win98 FAT32', 'Linux RAID');
+@important_types = ('Linux native', 'ReiserFS', 'Linux swap', 'DOS FAT16', 'Win98 FAT32', 'Linux RAID');
@fields2save = qw(primary extended totalsectors);
@@ -31,8 +31,9 @@ my %types = (
arch() =~ /^ppc/ ? (
0x401 => 'Apple Partition',
0x402 => 'Apple HFS Partition',
-) : (),
-arch() =~ /^sparc/ ? (
+) : (
+ 0x183 => 'ReiserFS',
+), arch() =~ /^sparc/ ? (
0x1 => 'SunOS boot',
0x2 => 'SunOS root',
0x3 => 'SunOS swap',
@@ -177,6 +178,7 @@ arch() !~ /^sparc/ ? (
0x1e => 'vfat',
0x82 => 'swap',
0x83 => 'ext2',
+ 0x183=> 'reiserfs',
0x402 => 'hfs',
nfs => 'nfs', #- hack
);