.. | |||
Makefile | 4 years ago | ||
README.md | 4 years ago | ||
example.c | 4 years ago |
This is about as simple as it gets.
To use:
make
and load with make test
mknod /dev/example c <MAJOR> 0
, replacing <MAJOR>
with major number returned in the kernel buffer.cat /dev/example
rm /dev/example
and unload the module with rmmod example
Followed along from here.