Subject: Re: Cloning bdev/cdev devices, step one
To: None <tech-kern@netbsd.org>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 07/11/2000 17:41:13
On Mon, Jul 10, 2000 at 10:50:35AM -0700, Bill Studenmund wrote:
> > Were we to ever decide to go with a real devfs that's created dynamically
> > based on device discovery, the dev_t value could be relegated completely
> > to the vfs layer.
>
> How would you address the biggest concern I've heard with devfs - how to
> handle permissions in a persistent manner?
In Solaris, IIRC, the devfs is actually /devices, and /dev/... are
symlinks to /devices/... I seem to recall that the /devices nodes
have strict permissions, and the /dev symlinks have permissions that
override the permissions of the target ... or something.
It's been a while since I had to deal with this :-)
--
-- Jason R. Thorpe <thorpej@zembu.com>