Subject: Re: Opening character device
To: Steven M. Bellovin <smb@research.att.com>
From: Onofre Wendell <onofrewendell@yahoo.com>
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?

Onofre
--- "Steven M. Bellovin" <smb@research.att.com> wrote:
> In message
> <20020115151036.69581.qmail@web21007.mail.yahoo.com>, 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, http://www.research.att.com/~smb
> 		Full text of "Firewalls" book now at
> http://www.wilyhacker.com
> 
> 


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/