Skip to content

Commit f4d3f25

Browse files
Villemoestorvalds
authored andcommitted
docs: admin-guide: update description for kernel.modprobe sysctl
When I added CONFIG_MODPROBE_PATH, I neglected to update Documentation/. It's still true that this defaults to /sbin/modprobe, but now via a level of indirection. So document that the kernel might have been built with something other than /sbin/modprobe as the initial value. Link: https://lkml.kernel.org/r/[email protected] Fixes: 17652f4 ("modules: add CONFIG_MODPROBE_PATH") Signed-off-by: Rasmus Villemoes <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Jessica Yu <[email protected]> Cc: Luis Chamberlain <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent c3187cf commit f4d3f25

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Documentation/admin-guide/sysctl/kernel.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -483,10 +483,11 @@ modprobe
483483
========
484484

485485
The full path to the usermode helper for autoloading kernel modules,
486-
by default "/sbin/modprobe". This binary is executed when the kernel
487-
requests a module. For example, if userspace passes an unknown
488-
filesystem type to mount(), then the kernel will automatically request
489-
the corresponding filesystem module by executing this usermode helper.
486+
by default ``CONFIG_MODPROBE_PATH``, which in turn defaults to
487+
"/sbin/modprobe". This binary is executed when the kernel requests a
488+
module. For example, if userspace passes an unknown filesystem type
489+
to mount(), then the kernel will automatically request the
490+
corresponding filesystem module by executing this usermode helper.
490491
This usermode helper should insert the needed module into the kernel.
491492

492493
This sysctl only affects module autoloading. It has no effect on the

0 commit comments

Comments
 (0)