Subject: Re: Opening character device
To: Onofre Wendell <onofrewendell@yahoo.com>
From: Steven M. Bellovin <smb@research.att.com>
List: netbsd-users
Date: 01/15/2002 11:32:26
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