Basically, I'm looking for pointers to info on how I can make my own
device in /dev that, when read from, outputs a buffer I'm storing info
to inside the kernel.
I'm taking this idea off of /dev/sndstat, sort of. But since I have no
experience in modifying the kernel, I've found myself lost in a twisty
maze of struct inodes and int devs that are masked for just the lower
byte. *grin*
Can anyone give me either the name of a good book to read on device
drivers and kernel hacking, or a pointer to some good docs on this
kind of stuff on the web?
Learning by reading the kernel source is making my head spin :)
Thanks a lot,
Ben Gertzfield
-- Brought to you by the letters L and Y and the number 3. "Oh, all right, Uncle Ulty REALLY wants you to do his portrait." -- FF6 Ben Gertzfield <http://www.imsa.edu/~wilwonka/> Finger me for my public PGP key. I'm on FurryMUCK as Che, and EFNet and YiffNet IRC as Che_Fox.