Linux’s modprobe adds the ability to load a module from anywhere on the file-system

With today’s release of kmod 31, Linux’s modprobe utility for loading kernel modules can finally allow arbitrary paths to allow loading new kernel modules from anywhere on the file-system.

Surprisingly it took until 2023 for allowing Linux’s modprobe to accept loading kernel modules from any arbitrary path. Rather than just specifying the module name and then looking up the module within the running kernel’s modules directory, modprobe can now allow passing a path to the module. Relative paths are also supported when prefixed with “./” for the path to the desired module.

Finally.

4 Comments

  1. 2023-09-29 4:40 pm
    • 2023-09-30 12:10 am
  2. 2023-09-30 3:33 pm
    • 2023-10-01 2:20 am