Re: Request for comments (kdev_t and friends...)

Oliver Xymoron (oxymoron@waste.org)
Fri, 26 Nov 1999 17:00:13 -0600 (CST)


On Fri, 26 Nov 1999, Richard Gooch wrote:

> - devfs is cleaner (which is what matters more to me)

You know we're far from consensus on that one. Yes, the lookup part is
cleaner, no argument there. But it's also cleaner to manage persistence of
permissions, etc., on a real file system. You'll have a hard time arguing
that. Sure, you can do it, but we can also do cached lookups. Both are
hacks. However the lookup hack is invisible to the user and probably a bit
less complicated than managing a virtual filesystem.

The third and final piece, dealing with dynamic device creation is
solvable with a user-space component. Which, if all other things were
equal, would be the preferred approach simply because it's that much less
code in the kernel.

Personally, I think devpts and procfs should be replaced with userfs-type
drivers wrapping sysctl for pretty much the same reasons.

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