Subject: Re: Opening character device
To: Steven M. Bellovin <firstname.lastname@example.org>
From: Onofre Wendell <email@example.com>
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" <firstname.lastname@example.org> wrote:
> In message
> <email@example.com>, Onofre
> >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
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!