Subject: Re: init creating mfs /dev automatically
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: David Brownlee <abs@netbsd.org>
List: tech-misc
Date: 01/06/2000 05:18:17
On Wed, 29 Dec 1999, der Mouse wrote:
> > [W]hat do people think about adding code to init to check for
> > the existance of /dev/console, and if not present,
> > automatically create it?
>
> How do you propose to have it know what major/minor to give it? Or is
> it "0 0" on every port?
>
All except 2 (but that would be too easy).
I'd probably have to use MAKEDEV - also since / will not be
mounted r/w it would have to do the same dance as in the current
msdosfs case by creating an mfs
> (It doesn't address the same need, but I'd like to see /kern/consdev, a
> la /kern/rootdev. Perhaps someday I'll do that.)
>
David/absolute