]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
man: Fix reference to MODULEDIR
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 14 Nov 2024 16:28:37 +0000 (10:28 -0600)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 21 Nov 2024 04:25:30 +0000 (22:25 -0600)
The expression used is <MODULEDIR>, so keep it consistent with the
option name.

Fixes: e9f2580eaf27 ("man: Reword depmod's paths")
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/243
man/depmod.8.scd

index 1e2315e76fbe8520469a17f9fc821bff414faf1a..c3d44279c60e8661ac7307d378e9ca5f9f458c6b 100644 (file)
@@ -20,17 +20,17 @@ uses this symbol, that second module clearly depends on the first module. These
 dependencies can get quite complex.
 
 *depmod* creates a list of module dependencies by reading each module under
-<BASEDIR>/<MODULEDIR>/_version_. By default <MODULE_DIRECTORY> is
-@MODULE_DIRECTORY@ and <BASEDIR> is empty. See options below to override when
-needed. It determines what symbols each module exports and needs.  This list is
-written to *modules.dep*, and a binary hashed version named modules.dep.bin, in
-the same directory. If filenames are given on the command line, only those
-modules are examined (which is rarely useful unless all modules are listed).
-*depmod* also creates a list of symbols provided by modules in the file named
-modules.symbols and its binary hashed version, modules.symbols.bin. Finally,
-*depmod* will output a file named modules.devname if modules supply special
-device names (devname) that should be populated in /dev on boot (by a utility
-such as systemd-tmpfiles).
+<BASEDIR>/<MODULEDIR>/_version_. By default <MODULEDIR> is @MODULE_DIRECTORY@
+and <BASEDIR> is empty. See options below to override when needed. It determines
+what symbols each module exports and needs.  This list is written to
+*modules.dep*, and a binary hashed version named modules.dep.bin, in the same
+directory. If filenames are given on the command line, only those modules are
+examined (which is rarely useful unless all modules are listed). *depmod* also
+creates a list of symbols provided by modules in the file named modules.symbols
+and its binary hashed version, modules.symbols.bin. Finally, *depmod* will
+output a file named modules.devname if modules supply special device names
+(devname) that should be populated in /dev on boot (by a utility such as
+systemd-tmpfiles).
 
 If a _version_ is provided, then that kernel version's module directory is used
 rather than the current kernel version (as returned by *uname -r*).