summaryrefslogtreecommitdiffstats
path: root/balkan
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-12-28 20:00:20 +0000
committerErik Troan <ewt@redhat.com>1999-12-28 20:00:20 +0000
commit9df25375e87b6a1a89e21d002db3a229b2cc5132 (patch)
tree367931861fbc6a1830a36a8e225a96661b09e9ec /balkan
parent79bd9ae361f0acadaa7328810d99e82030ca4897 (diff)
downloadanaconda-9df25375e87b6a1a89e21d002db3a229b2cc5132.tar.gz
anaconda-9df25375e87b6a1a89e21d002db3a229b2cc5132.tar.xz
anaconda-9df25375e87b6a1a89e21d002db3a229b2cc5132.zip
identify raid partitions
Diffstat (limited to 'balkan')
-rw-r--r--balkan/balkan.h1
-rw-r--r--balkan/dos.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/balkan/balkan.h b/balkan/balkan.h
index 6afa061c0..dcc95c0a8 100644
--- a/balkan/balkan.h
+++ b/balkan/balkan.h
@@ -11,6 +11,7 @@
#define BALKAN_PART_NTFS 4
#define BALKAN_PART_SWAP 5
#define BALKAN_PART_UFS 6
+#define BALKAN_PART_RAID 7
struct partition {
long startSector;
diff --git a/balkan/dos.c b/balkan/dos.c
index a0462dcb1..21e042f2a 100644
--- a/balkan/dos.c
+++ b/balkan/dos.c
@@ -147,6 +147,10 @@ int dospReadTable(int fd, struct partitionTable * table) {
table->parts[i].type = BALKAN_PART_EXT2;
break;
+ case 0xfd:
+ table->parts[i].type = BALKAN_PART_RAID;
+ break;
+
case 0x82:
table->parts[i].type = BALKAN_PART_SWAP;
break;