Subject: Re: Opening character device
To: Steven M. Bellovin <>
From: Onofre Wendell <>
List: netbsd-users
Date: 01/15/2002 08:49:44
Yes I added to cdevsw.  I simply use the next index number
in cdevsw.  Is it a problem?

--- "Steven M. Bellovin" <> wrote:
> In message
> <>, Onofre
> Wendell
>  writes:
> >How do I open a character device?  I can open some character
> >devices but not the one that I wrote.  I made the device
> >using mknod, then tried to open it.  Gave me 'device not
> >configured' (6).
> >
> Did you add it to cdevsw?  cdevsw is the glue between the
> major device 
> number that mknod has (btw, where did you get the number you
> used) and 
> the actual driver.
> 		--Steve Bellovin,
> 		Full text of "Firewalls" book now at

Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!