Re: module-init-tools/udev and module auto-loading

From: viro
Date: Tue Feb 03 2004 - 14:40:16 EST


On Tue, Feb 03, 2004 at 07:48:06PM +0200, Martin Schlemmer wrote:
> > > I guess there will be cries of murder if 'somebody' suggested that if
> > > a node in /dev is opened, but not there, the kernel can call
> > > 'modprobe -q /dev/foo' to load whatever alias there might have been?

Vetoed. _Especially_ when you are checking that on "pathname prefix"
level - namei.c is not a place for such special-casing.

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