Re: module-init-tools/udev and module auto-loading
From: Martin Schlemmer
Date: Tue Feb 03 2004 - 16:36:38 EST
On Tue, 2004-02-03 at 22:53, viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> On Tue, Feb 03, 2004 at 10:47:13PM +0200, Martin Schlemmer wrote:
> > On Tue, 2004-02-03 at 21:33, viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> > wrote:
> > > 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.
> > >
> > Well, I do not scratch around in there in general. I guess the question
> > is:
> > 1) This this idea is Ok to make it (not patch or where it is, but the
> > idea in general.
> It is not. Consider the effect of cd /dev followed by lookups. Do you
> really want a different behaviour in that case? Ditto for use of
> symlinks, yadda, yadda.
Any other ideas for the problem in general? =)
Description: This is a digitally signed message part