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

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 31 Oct 2001 00:15:10 +0000 (GMT)


> The idea is to include the SCSI disk's names into the list only if we
> compile the kernel with the corresponding support. It's not very
> serious patch, but to put the things in order... Linus, please, apply
> it.

It took that out deliberately a few months back. The ifdefs in fact
break stuff

Firstly the array is __init so is discarded on boot

Secondly if you have an initrd containing the scsi driver layers then you
can specify root=sda quite legitimately.

Alan
-
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/