Daily Archives: 2023-09-29

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

Source: OSNews

Article note: Huh, I always thought the modprobe (only from tree)/ insmod (load your own random modules) distinction was intentional.

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.

Posted in News | Leave a comment