option of kernel config - Kernel

This is a discussion on option of kernel config - Kernel ; 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? ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: option of kernel config

  1. option of kernel config

    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?
    NrybXǧv^)޺{.n+{zX }*z&j:+vzZ++zfh~*izw?*&)ߢf^jǫym@Aa 0hi

  2. Re: option of kernel config


    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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  3. Re: option of kernel config

    On Wed, 2 Jul 2008 02:25:30 +0400
    "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?


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

+ Reply to Thread