From: Emil Velikov via B4 Relay <devnull+emil.l.velikov.gmail.com@kernel.org>
To: linux-modules@vger.kernel.org
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Subject: [PATCH kmod v2 13/17] man: add few mentions about MODPROBE_OPTIONS
Date: Mon, 08 Jul 2024 14:43:21 +0100 [thread overview]
Message-ID: <20240708-man-v2-13-a23df6ef871e@gmail.com> (raw)
In-Reply-To: <20240708-man-v2-0-a23df6ef871e@gmail.com>
From: Emil Velikov <emil.l.velikov@gmail.com>
The environment variable may alter config file ordering, so mention it
in the man page.
In addition, highlight that the format is intentionally undocumented
since the use by third parties is discouraged.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
---
v2: tweak (5) wording, add details to (8)
---
man/modprobe.8.scd | 8 ++++++--
man/modprobe.d.5.scd | 3 +++
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/man/modprobe.8.scd b/man/modprobe.8.scd
index b47908b..321fa59 100644
--- a/man/modprobe.8.scd
+++ b/man/modprobe.8.scd
@@ -192,8 +192,12 @@ database.
# ENVIRONMENT
-The MODPROBE_OPTIONS environment variable can also be used to pass arguments to
-*modprobe*.
+The MODPROBE_OPTIONS environment variable can also be used to pass command line
+arguments to *modprobe*. The format is intentionally left undocumented, since
+the use by third-party tools and scripts is discouraged.
+
+The environment variable originates with the implementation of the install
+rules.
# COPYRIGHT
diff --git a/man/modprobe.d.5.scd b/man/modprobe.d.5.scd
index 823ba62..b7b1942 100644
--- a/man/modprobe.d.5.scd
+++ b/man/modprobe.d.5.scd
@@ -49,6 +49,9 @@ directory they reside in. Configuration files can either be completely replaced
priority) or partially replaced (by having a configuration file that is ordered
later).
+NOTE: The configuration directories may be altered via the MODPROBE_OPTIONS
+environment variable. See the ENVIRONMENT section in *modprobe*(8).
+
# COMMANDS
alias _wildcard_ _modulename_
--
2.45.2
next prev parent reply other threads:[~2024-07-08 13:43 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-08 13:43 [PATCH kmod v2 00/17] man: minor improvements, post the scdoc conversion Emil Velikov via B4 Relay
2024-07-08 13:43 ` [PATCH kmod v2 01/17] man: add some extra bold/italic annotations Emil Velikov via B4 Relay
2024-07-08 13:43 ` [PATCH kmod v2 02/17] man: white space fixes Emil Velikov via B4 Relay
2024-07-08 13:43 ` [PATCH kmod v2 03/17] man: misc punctuation fixes Emil Velikov via B4 Relay
2024-07-08 13:43 ` [PATCH kmod v2 04/17] man: some options take an argument, mention that Emil Velikov via B4 Relay
2024-07-08 13:43 ` [PATCH kmod v2 05/17] man: couple of grammar/language fixes Emil Velikov via B4 Relay
2024-07-08 13:43 ` [PATCH kmod v2 06/17] man: stop removing DISTCONFDIR lines Emil Velikov via B4 Relay
2024-07-08 13:43 ` [PATCH kmod v2 07/17] man: depmod.d: document the config file order handling Emil Velikov via B4 Relay
2024-07-08 13:43 ` [PATCH kmod v2 08/17] man: depmod.d: factor out a CONFIGURATION FORMAT section Emil Velikov via B4 Relay
2024-07-08 13:43 ` [PATCH kmod v2 09/17] man: depmod.d: rework the opening description sentence Emil Velikov via B4 Relay
2024-07-09 5:01 ` Lucas De Marchi
2024-07-08 13:43 ` [PATCH kmod v2 10/17] man: depmod: remove hard-coded /etc/depmod.d references Emil Velikov via B4 Relay
2024-07-08 13:43 ` [PATCH kmod v2 11/17] man: modprobe.d: document the config file order handling Emil Velikov via B4 Relay
2024-07-08 13:43 ` [PATCH kmod v2 12/17] man: modprobe.d: factor out a CONFIGURATION FORMAT section Emil Velikov via B4 Relay
2024-07-08 13:43 ` Emil Velikov via B4 Relay [this message]
2024-07-08 13:43 ` [PATCH kmod v2 14/17] man: modprobe: remove hard-coded /etc/modprobe.d references Emil Velikov via B4 Relay
2024-07-08 13:43 ` [PATCH kmod v2 15/17] man: remove the "Maintained by" references Emil Velikov via B4 Relay
2024-07-08 13:43 ` [PATCH kmod v2 16/17] man: rework AUTHORS section Emil Velikov via B4 Relay
2024-07-08 13:43 ` [PATCH kmod v2 17/17] man: list options one per line Emil Velikov via B4 Relay
2024-07-09 5:20 ` [PATCH kmod v2 00/17] man: minor improvements, post the scdoc conversion Lucas De Marchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240708-man-v2-13-a23df6ef871e@gmail.com \
--to=devnull+emil.l.velikov.gmail.com@kernel.org \
--cc=emil.l.velikov@gmail.com \
--cc=linux-modules@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).