• [^] # Re: Pistes:

    Posté par . En réponse au journal kernel panic avec le montage du root - aidez moi svp :-). Évalué à 2.

    Ooops, il me semblait que je disait une petite connerie.
    pour /dev/hdb5, ça fait 0x0345 ou 345 ou 3:69

    C'est dans init/do_mounts.c :
    if (strncmp(name, "/dev/", 5) != 0) {
    unsigned maj, min;

    if (sscanf(name, "%u:%u", &maj, &min) == 2) {
    res = MKDEV(maj, min);
    if (maj != MAJOR(res) || min != MINOR(res))
    goto fail;
    } else {
    res = new_decode_dev(simple_strtoul(name, &p, 16));
    if (*p)
    goto fail;
    }
    goto done;
    }