How to write a kernel module that creates a directory in /proc named mymod and a file in it name is mymodfile. This file should accept a number ranged from 1 to 3 when written i
There is an article about this in a french magazine called "Gnu/Linux magazine" this month.
I don't have my bookmarks here, but theses links look ok:
http://www.linuxhq.com/lkprogram.html
http://tldp.org/HOWTO/Module-HOWTO/x839.html
http://tldp.org/LDP/lkmpg/2.6/html/lkmpg.html