Subject: Re: Opening character device
To: Onofre Wendell <>
From: Steven M. Bellovin <>
List: netbsd-users
Date: 01/15/2002 11:32:26
In message <>, Onofre Wendell
>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