Subject: Re: moving MAKEDEV to /etc
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 09/02/2003 16:40:30
On Tue, 2 Sep 2003, der Mouse wrote:

> From Greywolf <greywolf@starwolf.com>:
> > 	- make /dev/ into a true devfs.

Let's not couple moving MAKEDEV to this question.

> > Question on devfs:
>
> > 	- Does each driver then register itself as [...]
> > 	- What of hot-pluggable devices?  [...]
>
> > [ this seems to me to be the way to go, but I will make my usual
> >   disclaimer that IANAKH. ]

Let's wait on an actual devfs implementation to go over this.

> As I recall, all previous devfs discussions have foundered on the
> question of "where do you keep the metadata?".  That is, where do you
> record that the admin has done "chgrp illuminati /dev/fnord" or "mv
> /dev/uk2 /dev/scanner" (or "ln -s uk2 /dev/scanner")?

Not only where do you keep the metadata, but how do you identify the
device from boot to boot, so that what was /dev/fnord this boot still is
group illiminati next boot. :-)

Take care,

Bill