On May 22, martin f krafft <[EMAIL PROTECTED]> wrote:

> Erik said that if initrd brings up /dev/md0, partitions from other
> software RAID devices (e.g. /dev/md7) cannot be brought up since the
> above code skips the MAKEDEV call in the case of presence of
> /dev/md0.
I do not know how the initrd work, but does it actually do this?

>   1 check for another device node, e.g. /dev/md5 and hope that the
>     initrd only ever configures /dev/md0
I think that this is the best solution. If the initrd only activates the
/ array then you can check for md1 and md/1.

>   2 check for multiple device nodes
One should be enough.

>   3 check for all device nodes (is 0-15 the standard range?)
One should still be enough.

>   4 call MAKEDEV regardless of whether devices already exist, if
>     udev is present
Does not work if devfs-style device names are present.

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature

Reply via email to