Re: option of kernel config

From: Jan Engelhardt
Date: Wed Jul 02 2008 - 02:33:37 EST



On Wednesday 2008-07-02 00:25, Donkey Ia wrote:

>Please, excuse me - probably it's a very stupid question for this
>place, but i need to know - could you tell me please, ïwhich exactly
>option (or maybe options) of kernel config calls ide hard disks
>/dev/sdX instead /dev/hdX?
>N?????r??y??????X??Çv???)Þ{.n??????{????zX????Ü}???Æz??j:+v???????zZ+???zf???h???~????????z??w?????????&?)ßf???jÇy?m???A?a???? 0???????

There is no 'option', this is hardcoded in drivers/scsi/sd.c.

sd.c: sprintf(gd->disk_name, "sd%c", 'a' + index % 26);
sd.c: sprintf(gd->disk_name, "sd%c%c",
sd.c: sprintf(gd->disk_name, "sd%c%c%c",

And you should not be changing this in that place.

Well I prefer libata over oldide since the scsi stack is loaded anyway.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/