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

last updated in Categories FreeBSD, Howto, Open source coding, programming

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, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

1 comment

    Have a question? Post it on our forum!