2. Kernel modules are pieces of code that can be
loaded and unloaded into the kernel upon demand.
They extend the functionality of the kernel without
the need to reboot the system.
There are two types of kernels:
A microkernel
A monolithic kernel
Hybrid kernel
Exo kernel
3. Linux (kernel) modules are compiled software modules
that the can be dynamically loaded by the kernel (using a
utility program by the system administrator) that extend the
features of the Linux kernel. This includes (but is not
limited to) such features as:
Device Drivers
Networking Protocols
Firewall (iptables and iptables6) features
GPU drivers
File systems
5. Donot define main ()function
It will be loaded dynamically
Runs in kernel space
Links only to kernel
6. COMMANDS
Modprobe is the command used to insertion as
well removing the kernel module
UAPI used to create user space API headers.
init linux initialization