mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* option of kernel config
@ 2008-07-01 22:25 Donkey Ia
  2008-07-01 22:28 ` Randy.Dunlap
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Donkey Ia @ 2008-07-01 22:25 UTC (permalink / raw)
  To: linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 384 bytes --]

Please, excuse me - probably it's a very stupid question for thisplace, but i need to know - could you tell me please, which exactlyoption (or maybe options) of kernel config calls ide hard disks/dev/sdX instead /dev/hdX?ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: option of kernel config
  2008-07-01 22:25 option of kernel config Donkey Ia
@ 2008-07-01 22:28 ` Randy.Dunlap
  2008-07-02  6:33 ` Jan Engelhardt
  2008-07-02  7:48 ` Alan Cox
  2 siblings, 0 replies; 4+ messages in thread
From: Randy.Dunlap @ 2008-07-01 22:28 UTC (permalink / raw)
  To: Donkey Ia; +Cc: linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 441 bytes --]

On Wed, 2 Jul 2008, 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?


Using ATA instead of IDE drivers does that.  This menu item:

menuconfig ATA
	tristate "Serial ATA (prod) and Parallel ATA (experimental) drivers"

-- 
~Randy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: option of kernel config
  2008-07-01 22:25 option of kernel config Donkey Ia
  2008-07-01 22:28 ` Randy.Dunlap
@ 2008-07-02  6:33 ` Jan Engelhardt
  2008-07-02  7:48 ` Alan Cox
  2 siblings, 0 replies; 4+ messages in thread
From: Jan Engelhardt @ 2008-07-02  6:33 UTC (permalink / raw)
  To: Donkey Ia; +Cc: linux-kernel


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??\x17??ܨ}???Ơz??j:+v???\a????zZ+???zf???h???~????????z?\x1e?w?????????&?)ߢ^[f???jǫy?m???A?a????\f0????\x0f???\x7f

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: option of kernel config
  2008-07-01 22:25 option of kernel config Donkey Ia
  2008-07-01 22:28 ` Randy.Dunlap
  2008-07-02  6:33 ` Jan Engelhardt
@ 2008-07-02  7:48 ` Alan Cox
  2 siblings, 0 replies; 4+ messages in thread
From: Alan Cox @ 2008-07-02  7:48 UTC (permalink / raw)
  To: Donkey Ia; +Cc: linux-kernel

On Wed, 2 Jul 2008 02:25:30 +0400
"Donkey Ia" <d0nk3y.ia@gmail.com> 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?

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-02  8:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-01 22:25 option of kernel config Donkey Ia
2008-07-01 22:28 ` Randy.Dunlap
2008-07-02  6:33 ` Jan Engelhardt
2008-07-02  7:48 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®