Skip to content

Latest commit

 

History

25 提交

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

仓库 files navigation

Linux_kernel_modules

Basic Linux kernel modules/Drivers

-> to run or load

make

sudo insmod module_name.ko

dmesg

to remove or unloading module sudo rmmod module_name

  • insmod is kernel utility which helps to load kernel module into kernel code.

  • insmod stands for "insert_module"

  • lsmod command will list the current modules loaded in kernel

  • rmmod utility command will unload the loadable module. e.g rmmod helloM

  • module fails to unload if the kernel belives that the module is still in use.

  • modprobe is also a kernel utility which helps to load kernel module into kernel code.

kernel API

关于

Basic Linux kernel modules/Drivers

Topics

Resources

Stars

0 stars

关注者

1 watching

复刻s

发布

贡献者

Languages