Enough introduction--it's time to actually create a basic device driver using FUSD!
This following sections will illustrate various techniques using example programs. To save space, interesting excerpts are shown instead of entire programs. However, the examples directory of the FUSD distribution contains all the examples in their entirety. They can actually be compiled and run on a system with the FUSD kernel module installed.
Where this text refers to example program line numbers, it refers to the line numbers printed alongside the excerpts in the manual--not the line numbers of the actual programs in the examples directory.