Re: [PATCH] md autostart and name fixes, 2.4.0test1-ac7

From: Rask Ingemann Lambertsen (rask-linux@kampsax.k-net.dk)
Date: Fri Jun 09 2000 - 05:38:52 EST


Den 03-Jun-00 22:18:19 skrev Dave Dillow fĝlgende om "[PATCH] md autostart and name fixes, 2.4.0test1-ac7":

>The first patch provides partition type information, which the md driver
>relies on to find RAID slices, so that it can autostart them.

   Yes! It works here. Thank you.

> It also
>modifies d/b/Config.in to get the right config option defined.

   For whatever reason, I can't get make menuconfig to show the option. I
hacked Config.in by commenting out the if-then-fi construct so I could
select it.

>The second patch fixes md's disk names when using devfs.

   Works fine too.

>diff -ru linux-2.4.0test1-ac7/drivers/block/Config.in
>linux-2.4.0test1-ac7.il1/drivers/block/Config.in
>--- linux-2.4.0test1-ac7/drivers/block/Config.in Sat Jun 3 12:51:49 2000
>+++ linux-2.4.0test1-ac7.il1/drivers/block/Config.in Sat Jun 3 14:28:51 2000
>@@ -54,6 +54,9 @@
> dep_tristate ' RAID-4/RAID-5 mode' CONFIG_MD_RAID5
> $CONFIG_BLK_DEV_MD
> fi
> fi
>+if [ "$CONFIG_MD_LINEAR" = "y" -o "$CONFIG_MD_RAID0" = "y"]; then
^^^^
>+ bool ' Boot support (linear, raid0)' CONFIG_AUTODETECT_RAID
>+fi
^^^^
> tristate 'RAM disk support' CONFIG_BLK_DEV_RAM
> dep_bool ' Initial RAM disk (initrd) support' CONFIG_BLK_DEV_INITRD
> $CONFIG_BLK_DEV_RAM

   I don't know what is wrong with the if-then-fi construct, but it doesn't
seem to evaluate to true ever.

Regards,

/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen | E-mail: mailto:rask@kampsax.dtu.dk |
| Please do NOT Cc: to me or the | WWW: http://www.gbar.dtu.dk/~c948374/ |
| mailing list. I am on the list.| "ThrustMe" on XPilot, ARCnet and IRC |
| If you wake up Sleepy & Grumpy, you must be Snow White. |

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:18 EST