Writing a GEOM Class

Ivan Voras


          

$FreeBSD: head/en_US.ISO8859-1/articles/geom-class/article.xml 40540 2013-01-05 01:19:02Z gjb $

$FreeBSD: head/en_US.ISO8859-1/articles/geom-class/article.xml 40540 2013-01-05 01:19:02Z gjb $

Legal Notice

This text documents some starting points in developing GEOM classes, and kernel modules in general. It is assumed that the reader is familiar with C userland programming.


Table of Contents
1 Introduction
2 Preliminaries
3 On FreeBSD kernel programming
4 On GEOM programming

1 Introduction

1.1 Documentation

Documentation on kernel programming is scarce — it is one of few areas where there is nearly nothing in the way of friendly tutorials, and the phrase “use the source!” really holds true. However, there are some bits and pieces (some of them seriously outdated) floating around that should be studied before beginning to code: