summaryrefslogtreecommitdiffstats
path: root/balkan/bsdlabel.c
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-12-05 05:10:22 +0000
committerMatt Wilson <msw@redhat.com>2000-12-05 05:10:22 +0000
commit265e97939a298b322011fc6bd0b3624583bea43b (patch)
tree4f07c847055e4325dfcbbf984bf443d4ebeb9f6e /balkan/bsdlabel.c
parentf8ea2eb11c04a8d0d9e4b787f8b082e949af6bcc (diff)
downloadanaconda-265e97939a298b322011fc6bd0b3624583bea43b.tar.gz
anaconda-265e97939a298b322011fc6bd0b3624583bea43b.tar.xz
anaconda-265e97939a298b322011fc6bd0b3624583bea43b.zip
merge from anaconda-7-0-alpha-branch
Diffstat (limited to 'balkan/bsdlabel.c')
-rw-r--r--balkan/bsdlabel.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/balkan/bsdlabel.c b/balkan/bsdlabel.c
index 505c44c3e..e756e5596 100644
--- a/balkan/bsdlabel.c
+++ b/balkan/bsdlabel.c
@@ -104,9 +104,14 @@ int bsdlReadTable(int fd, struct partitionTable * table) {
table->parts[i].size = label.d_partitions[i].p_size;
switch (label.d_partitions[i].p_fstype) {
- case 1: s = BALKAN_PART_SWAP; break;
- case 8: s = BALKAN_PART_EXT2; break;
- default: s = BALKAN_PART_OTHER; break;
+ case 1:
+ s = BALKAN_PART_SWAP; break;
+ case 8:
+ s = BALKAN_PART_EXT2; break;
+ case 0xfd:
+ s = BALKAN_PART_RAID; break;
+ default:
+ s = BALKAN_PART_OTHER; break;
}
table->parts[i].type = s;
}