Programming Tutorial: How To Write a FreeBSD Kernel Module ( Driver )

Posted on in Categories FreeBSD, Howto, Open source coding, programming last updated May 25, 2008

Nice short guide for writing a kernel module for FreeBSD operating system. From the article:

FreeBSD 7.0 has already been released. If you are a real hacker, the best way to jump in and learn it is hacking together an introductory kernel module. In this article I’ll implement a very basic module that prints a message when it is loaded, and another when it is unloaded. I’ll also cover the mechanics of compiling our module using standard tools and rebuilding the stock FreeBSD kernel.

=> Writing a kernel module for FreeBSD

Related: How To Compile a Linux Kernel Modules

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

1 comment

Leave a Comment