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

by Vivek Gite on May 25, 2008 · 1 comment

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

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

We're here to help you make the most of sysadmin work. So, subscribe!

{ 1 comment… read it below or add one }

1 Jyothi Das July 16, 2008

Just started to learn Linux. May make comment as I progress

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 6 + 7 ?
Please leave these two fields as-is:
Are you a human being? Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: