How ansanjay/kerneldev101 works
This repository is a set of introductory Linux kernel-module lessons, not a single driver application. The workflow is learning the module lifecycle, then examining small module examples and using kernel tools to inspect modules and logs. The sampled code shows initialization and cleanup hooks, and a multi-file example calling its helper. Other lesson contents are not sampled, so their internal behavior and connections are left unspecified.
Main entry points: Readme.md Kernel basics · 004.Multiple_files/hello.c Multi-file module · func.c Print helper · 001.hello/hello.c Hello module
Components 11
Learning guide
- Kernel basics
Readme.md
Module examples
- Hello module
001.hello/hello.c - Renamed module
003.Change_module_name/hello.c - Multi-file module
004.Multiple_files/hello.c - Print helper
004.Multiple_files/func.c
Further lessons
- Loading lesson
002.insmod_working/Readme.md - Multiple modules lesson
005.Multiple_kernel_module/Readme.md - Log inspection lesson
006.dmesg/Readme.md
Other components
- Learner
- Linux kernel
- Module tools
Connections 8
- Learner → Kernel basics: reads
Readme.md - Kernel basics → Linux kernel: explains loading
Readme.md - Kernel basics → Module tools: documents commands
Readme.md - Multi-file module → Print helper: calls
004.Multiple_files/hello.c - Hello module → Linux kernel: logs messages
001.hello/hello.c - Renamed module → Linux kernel: logs messages
003.Change_module_name/hello.c - Multi-file module → Linux kernel: logs messages
004.Multiple_files/hello.c - Print helper → Linux kernel: logs message
004.Multiple_files/func.c