[ Thanks to Mike Golvach for this link. ]
"I included the basic code below, but you should check out the site for a good write-up and instruction on how to use and modify it for your system's kernel."
Complete Story
Related Stories: