Subject: Re: PR 7170 -- init and /dev/console
To: NetBSD Kernel Technical Discussion List <tech-kern@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: tech-kern
Date: 04/30/2001 03:05:00
[ On Sunday, April 29, 2001 at 23:38:05 (-0700), Michael Lyle wrote: ]
> Subject: Re: PR 7170 -- init and /dev/console
>
> On Sun, Apr 29, 2001 at 11:04:06PM -0700, Greywolf wrote:
> > At the risk of sounding REALLY, really stewpid, could we implement a
> > devopen(dev_t dev, filemode_t fmode) /* or should that be
> > devopen(dev_t *dev, filemode_t *fmode)? */?
> 
> well, i think we'd want devopen(dev_t dev, int flags)-- where flags is
> a typical set of flags as would be passed to open(2).

Personally I think we don't want devopen(), ever.

If you can't mount a writable fielsystem and run "mknod" on it then you
don't deserve to be running unix!  ;-)

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>     <woods@robohack.ca>
Planix, Inc. <woods@planix.com>;   Secrets of the Weird <woods@weird.com>