Re: does udev support sw raid0?

From: Christoph Hellwig
Date: Fri May 14 2004 - 13:59:58 EST


On Fri, May 14, 2004 at 11:46:59AM -0700, Greg KH wrote:
> How did this work with devfs then? The device node would not be present
> before the ioctl needed to be called, right? Or did it do the "magic
> lookup" mess and just "know" about md devices?

md uses blk_register_region to get a callback for it's dev_t region without
a registered gendisk, and also creates devfs entries before the gendisk
is registered. It's a single big mess.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/