Re: [PATCH] init/main.c/root_dev_names - another one #ifdef

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Oct 30 2001 - 19:28:49 EST


> > Firstly the array is __init so is discarded on boot
>
> I think that array really is broken. We should get the name association
> from the array that "register_blkdev()" maintains, I'm sure. That way
> random stupid driver X doesn't need to touch a common init/main.c file,
> which I find personally offensive.

For 2.5 definitely. Right now we'd have to be very careful to process
the string -> number conversion after initrd had run (ie at the root change)
and also add a mechanism for aliases for the names we don't quite match
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Oct 31 2001 - 21:00:42 EST