Tuesday, June 26, 2007

3 more features for a basic module

Just learned few things which are useful.

1. Licensing and Documentation
2. Passing Arguments to a module and
3. Writing a driver on more than one file.

I am still working on it. All are tested though, I am experimenting them on different situations.
I'll be posting sample codes and outputs soon.

Here's a sample module info of the modified hello.c

filename: hello.ko
description: A sample driver
author: Raihan Hasnain
license: GPL
srcversion: 76F9BD32BB1DECDFF563E8E
depends:
vermagic: 2.6.20-16-generic SMP mod_unload 586



No comments: