kmod.adoc 995 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. === kmod
  2. Multi-call executable that implements: `lsmod`, `insmod`, `rmmod`, and other tools on desktop distros such as Ubuntu 16.04, where e.g.:
  3. ....
  4. ls -l /bin/lsmod
  5. ....
  6. gives:
  7. ....
  8. lrwxrwxrwx 1 root root 4 Jul 25 15:35 /bin/lsmod -> kmod
  9. ....
  10. and:
  11. ....
  12. dpkg -l | grep -Ei
  13. ....
  14. contains:
  15. ....
  16. ii kmod 22-1ubuntu5 amd64 tools for managing Linux kernel modules
  17. ....
  18. BusyBox also implements its own version of those executables. There are some differences.
  19. Buildroot also has a kmod package, but we are not using it since BusyBox' version is good enough so far.
  20. This page will only describe features that differ from kmod to the BusyBox implementation.
  21. Source code: https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
  22. ==== module-init-tools
  23. Name of a predecessor set of tools.
  24. ==== modprobe
  25. Load module under different name to avoid conflicts:
  26. ....
  27. sudo modprobe vmhgfs -o vm_hgfs
  28. ....