Re: option of kernel config
On Wednesday 2008-07-02 00:25, Donkey Ia wrote:
[color=blue]
>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???????[/color]
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 [email]majordomo@vger.kernel.org[/email]
More majordomo info at [url]http://vger.kernel.org/majordomo-info.html[/url]
Please read the FAQ at [url]http://www.tux.org/lkml/[/url]
Re: option of kernel config
On Wed, 2 Jul 2008 02:25:30 +0400
"Donkey Ia" <d0nk3y.ia@gmail.com> wrote:
[color=blue]
> 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?[/color]
The old IDE layer (CONFIG_IDE) calls those ATA devices it recognizes
(most PATA, a few SATA) /dev/hd*, the newer Libata layer calls those it
handles (PATA/SATA) /dev/sd*. If you are using labels you can flip back
and forth quite easily.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email]majordomo@vger.kernel.org[/email]
More majordomo info at [url]http://vger.kernel.org/majordomo-info.html[/url]
Please read the FAQ at [url]http://www.tux.org/lkml/[/url]