Please excuse my newbie question...
I've been fooling around with module programing on 2.4.0, and I've made this
little module for a char device that printk's (darn, my kernel log's growing
real huge now!!!) anything I redirect into /dev/charmod (Hurray! I made my
first module).... I have not yet implemented any read facilities, yet....
and here's my question: What's IOCTL? What do I need it for?
Oh BTW, I have this dumb little idea (please flame me if it's stupid...)...
Here goes: I want to create a small database system (possibly using
ANSI-SQL92??) that's integrated into the kernel... I think I'd make a module
for a char device, which would be used for comm' with the database and a
module for a filesystem (which I'd have to come up with) that would hold the
database... Do any of you think such a database would be faster than other
database systems?
Please tell me what you people think about this...
PS. a big thanks to Mr. Wolff for starting me up on file_operations...
fsnchzjr wrote:
>
> Please excuse my newbie question...
> I've been fooling around with module programing on 2.4.0, and I've made this
> little module for a char device that printk's (darn, my kernel log's growing
> real huge now!!!) anything I redirect into /dev/charmod (Hurray! I made my
> first module).... I have not yet implemented any read facilities, yet....
> and here's my question: What's IOCTL? What do I need it for?
>
> Oh BTW, I have this dumb little idea (please flame me if it's stupid...)...
Best run for cover... I see flame throwers everywhere.
Get "Linux Device Drivers" by Rubini and hang out on the kernel-newbies
list for a while... people there are more open to answering questions of
this type than most here.
But above all, don't let the flames from this discourage you.
^C-ya,
Eli
--------------------. Rule of Accuracy: When working toward
Eli Carter | the solution of a problem, it always
[email protected] `--------------------- helps if you know the answer.