man: add few mentions about MODPROBE_OPTIONS

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>
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
This commit is contained in:
Emil Velikov 2024-07-08 14:43:21 +01:00 committed by Lucas De Marchi
parent e46b473a92
commit 42d60a3267
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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_