mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 11:11:35 +01:00
a bit closer
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
[[modprobe]]
|
||||
= modprobe
|
||||
=== modprobe
|
||||
|
||||
If you are feeling fancy, you can also insert modules with:
|
||||
|
||||
@@ -9,8 +8,7 @@ lsmod
|
||||
# dep and dep2
|
||||
....
|
||||
|
||||
This method also deals with module dependencies, which we almost don't
|
||||
use to make examples simpler:
|
||||
This method also deals with module dependencies, which we almost don't use to make examples simpler:
|
||||
|
||||
* https://askubuntu.com/questions/20070/whats-the-difference-between-insmod-and-modprobe
|
||||
* https://stackoverflow.com/questions/22891705/whats-the-difference-between-insmod-and-modprobe
|
||||
@@ -40,8 +38,7 @@ so it is a bit risky.
|
||||
ls /lib/modules/*/extra/
|
||||
....
|
||||
|
||||
Kernel modules built from the Linux mainline tree with
|
||||
`CONFIG_SOME_MOD=m`, are automatically available with `modprobe`, e.g.:
|
||||
Kernel modules built from the Linux mainline tree with `CONFIG_SOME_MOD=m`, are automatically available with `modprobe`, e.g.:
|
||||
|
||||
....
|
||||
modprobe dummy-irq
|
||||
|
||||
Reference in New Issue
Block a user