Re: [patch] dynamic char and block devices

Oliver Xymoron (oxymoron@waste.org)
Thu, 14 Oct 1999 08:19:51 -0500 (CDT)


On Wed, 13 Oct 1999, Richard Gooch wrote:

> Oliver Xymoron writes:
> > On Wed, 13 Oct 1999, Richard Gooch wrote:
> >
> > > > Since it looks doubtful that devfs will get applied anytime soon, do
> > > > you have an alternate solution to suggest?
> > >
> > > No. Unless you store the fops with the inode, you don't have much
> > > choice but to do a table lookup. So far it hasn't hurt us because the
> > > lookup is an index operation, which is fast.
> >
> > However open(2) is not an index operation, even on devfs.
>
> Not sure what you're trying to say here.

I'm saying open has to do a filename->inode mapping which is probably a
bit harder than the device number->fops mapping we're talking about here.

--
 "Love the dolphins," she advised him. "Write by W.A.S.T.E.." 

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