Linux-Doc Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] docs: admin-guide: update description for kernel.modprobe sysctl
@ 2021-04-20 12:53 Rasmus Villemoes
  2021-05-10 10:20 ` Rasmus Villemoes
  0 siblings, 1 reply; 2+ messages in thread
From: Rasmus Villemoes @ 2021-04-20 12:53 UTC (permalink / raw)
  To: Andrew Morton, Jonathan Corbet
  Cc: Greg Kroah-Hartman, Jessica Yu, Luis Chamberlain,
	Rasmus Villemoes, linux-doc, linux-kernel

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.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
---

Andrew, this is a followup or a fixup, however you want to handle it,
to "modules: add CONFIG_MODPROBE_PATH" (in next-20210419 known as
8bc50a36278dbf3e14b25236e3acee25f75d5bd8). I.e., please add this as-is
to your patch queue, or fold this into that one.

 Documentation/admin-guide/sysctl/kernel.rst | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation/admin-guide/sysctl/kernel.rst
index 1d56a6b73a4e..7ca8df5451d4 100644
--- a/Documentation/admin-guide/sysctl/kernel.rst
+++ b/Documentation/admin-guide/sysctl/kernel.rst
@@ -483,10 +483,11 @@ modprobe
 ========
 
 The full path to the usermode helper for autoloading kernel modules,
-by default "/sbin/modprobe".  This binary is executed when the kernel
-requests a module.  For example, if userspace passes an unknown
-filesystem type to mount(), then the kernel will automatically request
-the corresponding filesystem module by executing this usermode helper.
+by default ``CONFIG_MODPROBE_PATH``, which in turn defaults to
+"/sbin/modprobe".  This binary is executed when the kernel requests a
+module.  For example, if userspace passes an unknown filesystem type
+to mount(), then the kernel will automatically request the
+corresponding filesystem module by executing this usermode helper.
 This usermode helper should insert the needed module into the kernel.
 
 This sysctl only affects module autoloading.  It has no effect on the
-- 
2.29.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] docs: admin-guide: update description for kernel.modprobe sysctl
  2021-04-20 12:53 [PATCH] docs: admin-guide: update description for kernel.modprobe sysctl Rasmus Villemoes
@ 2021-05-10 10:20 ` Rasmus Villemoes
  0 siblings, 0 replies; 2+ messages in thread
From: Rasmus Villemoes @ 2021-05-10 10:20 UTC (permalink / raw)
  To: Andrew Morton, Jonathan Corbet
  Cc: Greg Kroah-Hartman, Jessica Yu, Luis Chamberlain, linux-doc,
	linux-kernel

On 20/04/2021 14.53, Rasmus Villemoes wrote:
> 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.
> 

Andrew, can I get you to pick this up? It's a follow-up to what is now
known as 17652f4240f7.

Rasmus

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-20 12:53 [PATCH] docs: admin-guide: update description for kernel.modprobe sysctl Rasmus Villemoes
2021-05-10 10:20 ` Rasmus Villemoes

Linux-Doc Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-doc/0 linux-doc/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-doc linux-doc/ https://lore.kernel.org/linux-doc \
		linux-doc@vger.kernel.org
	public-inbox-index linux-doc

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-doc


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git