From: David Woodhouse Date: Mon, 4 Dec 2006 15:45:46 +0000 (+0000) Subject: [PATCH] Enable RAID autorun on Mac partition tables. X-Git-Tag: v2.6.20-rc1~34^2~40^2~14 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a79f43a54b7df7b12bc1c0fbf4ba76520ba40354;p=linux-2.6 [PATCH] Enable RAID autorun on Mac partition tables. Signed-off-by: David Woodhouse Signed-off-by: Linus Torvalds --- diff --git a/fs/partitions/mac.c b/fs/partitions/mac.c index c0871002d0..d4a0fad356 100644 --- a/fs/partitions/mac.c +++ b/fs/partitions/mac.c @@ -74,6 +74,8 @@ int mac_partition(struct parsed_partitions *state, struct block_device *bdev) be32_to_cpu(part->start_block) * (secsize/512), be32_to_cpu(part->block_count) * (secsize/512)); + if (!strnicmp(part->type, "Linux_RAID", 10)) + state->parts[slot].flags = 1; #ifdef CONFIG_PPC_PMAC /* * If this is the first bootable partition, tell the