Subject: Re: mfs /dev configurable, presumably...
To: Greywolf <firstname.lastname@example.org>
From: Matthew Jacob <email@example.com>
Date: 07/04/2002 12:48:32
This is sort of what the current FreeBSD devfs is. But FreeBSD does it better
by letting the device drivers create devices at attach time and have that
reflect up into devfs. And it's then the drivers that set ownership and
permission. Yes, that's a debatable design.
On Thu, 4 Jul 2002, Greywolf wrote:
> I have a -current build from about a week ago. I boot it, and it comes
> up creating a mfs /dev with every device known to man living in it, as
> though "MAKEDEV all" had just been run.
> I'll presume this is a first step toward a devfs. I'll further presume
> that I can rip this code out and rebuild init, seeing as I find the /dev
> far too crowded.
> [I'll note that a devfs isn't really going to be practical until ptys
> among others are clone devices as well...]
> I think the thing I *really* found the most annoying about this is that
> "chgrp" and "chown" don't exist at the time the devices are created, and
> messages are spewed to point this out. Repeatedly.
> "Just click on the START button and your journey to the Dark Side
> will be complete!"