This commit is contained in:
Ciro Santilli
2018-02-10 12:58:34 +00:00
parent 9a35e4c37a
commit 0f4702d17d
25 changed files with 2145 additions and 2 deletions

52
kmod.adoc Normal file
View File

@@ -0,0 +1,52 @@
[[kmod]]
= kmod
Multi-call executable that implements: `lsmod`, `insmod`, `rmmod`, and
other tools on desktop distros such as Ubuntu 16.04, where e.g.:
....
ls -l /bin/lsmod
....
gives:
....
lrwxrwxrwx 1 root root 4 Jul 25 15:35 /bin/lsmod -> kmod
....
and:
....
dpkg -l | grep -Ei
....
contains:
....
ii kmod 22-1ubuntu5 amd64 tools for managing Linux kernel modules
....
BusyBox also implements its own version of those executables. There are
some differences.
Buildroot also has a kmod package, but we are not using it since
BusyBox' version is good enough so far.
This page will only describe features that differ from kmod to the
BusyBox implementation.
Source code: https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
[[module-init-tools]]
== module-init-tools
Name of a predecessor set of tools.
[[modprobe]]
== modprobe
Load module under different name to avoid conflicts:
....
sudo modprobe vmhgfs -o vm_hgfs
....