summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-02 14:44:33 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-02 14:44:33 +0000
commit6df138bc0f74b9d6869f69c9fb662f851026e6c8 (patch)
tree4fa4d1dc6067dd7f7d770965ed1acf99db9dc823
parentc1642859374aeaf9481998672b249785b90389b5 (diff)
downloaddrakx-6df138bc0f74b9d6869f69c9fb662f851026e6c8.tar
drakx-6df138bc0f74b9d6869f69c9fb662f851026e6c8.tar.gz
drakx-6df138bc0f74b9d6869f69c9fb662f851026e6c8.tar.bz2
drakx-6df138bc0f74b9d6869f69c9fb662f851026e6c8.tar.xz
drakx-6df138bc0f74b9d6869f69c9fb662f851026e6c8.zip
JFS support
-rw-r--r--perl-install/fsedit.pm1
-rw-r--r--perl-install/partition_table.pm3
2 files changed, 3 insertions, 1 deletions
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',