Re: "[PATCH] devfs: switch over ubd to ->devfs_name" breaks ubd/sysfs

Christoph Hellwig (hch@lst.de)
Mon, 21 Apr 2003 14:34:02 +0200


On Mon, Apr 21, 2003 at 04:30:39PM +0400, Oleg Drokin wrote:
> fake major is easy, it allows you to register ubd device on two majors.
> This is useful e.g. for installing distros inside of UML.
> Distro installers are tend to look for IDE disk on major 3, for example.
> Then if you boot with ubd=3, installer will find the disk ;)

Not that I would argue in favour of using devfs, but to make this fake
major stuff useful with devfs you'd have to use the devfs entries of
the faked devices. So instead of the ubd_fake devfs names you'd
better add a string boot option that'll get set into ->devfs_name for
those.

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