Buradasın
Linux Kernel Modules Guide
opensource.com/article/18/5/how-load-or-unload-linux-kernel-moduleYapay zekadan makale özeti
- Understanding Kernel Modules
- Linux manages hardware peripherals through loadable kernel modules (LKMs)
- Modules act as translators between devices and Linux kernel
- Linux kernel isolates itself while allowing module-specific functionality
- Finding Modules
- Modules are files with .ko extension in /lib/modules/ directory
- Modules are organized by kernel release in separate directories
- Use uname -r system variable to find correct module directory
- lsmod command shows currently loaded modules
- modprobe -c counts available modules
- Manual Module Loading
- Modules must exist before loading
- Use find command with glob pattern to search module directories
- Modules can be loaded without reboots
- rmmod command can kill and restart modules
- Modules can be customized in /etc/modules or /etc/modules-load.d/