From 6df138bc0f74b9d6869f69c9fb662f851026e6c8 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 2 Aug 2001 14:44:33 +0000 Subject: JFS support --- perl-install/fsedit.pm | 1 + perl-install/partition_table.pm | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index ea6e6443b..2e7eada73 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -51,6 +51,7 @@ my @partitions_signatures = ( [ 0x183, 0x10034, "ReIsErFs" ], [ 0x183, 0x10034, "ReIsEr2Fs" ], [ 0x283, 0, 'XFSB', 0x200, 'XAGF', 0x400, 'XAGI' ], + [ 0x383, 0x8000, 'JFS1' ], [ 0x82, 4086, "SWAP-SPACE" ], [ 0x7, 0x1FE, "\x55\xAA", 0x3, "NTFS" ], [ 0xc, 0x1FE, "\x55\xAA", 0x52, "FAT32" ], diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm index c667f2d1a..4f42120ec 100644 --- a/perl-install/partition_table.pm +++ b/perl-install/partition_table.pm @@ -18,7 +18,7 @@ use log; if (arch() =~ /ppc/) { @important_types = ('Linux native', 'Linux swap', 'Apple HFS Partition', 'Apple Bootstrap'); } else { - @important_types = ('Linux native', 'Linux swap', if_(arch() =~ /i.86/, 'ReiserFS', 'DOS FAT16', 'Win98 FAT32')); + @important_types = ('Linux native', 'Linux swap', if_(arch() =~ /i.86/, 'ReiserFS', 'JFS', 'DOS FAT16', 'Win98 FAT32')); } @important_types2 = ('Linux RAID', 'Linux Logical Volume Manager partition'); @@ -35,6 +35,7 @@ arch() =~ /^ppc/ ? ( ) : arch() =~ /^i.86/ ? ( 0x183 => 'ReiserFS', 0x283 => 'XFS', + 0x383 => 'JFS', ) : arch() =~ /^sparc/ ? ( 0x1 => 'SunOS boot', 0x2 => 'SunOS root', -- cgit v1.2.1