]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
man/modprobe.8: document --remove-holders
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 30 May 2025 18:23:04 +0000 (19:23 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 13 Jun 2025 17:45:25 +0000 (12:45 -0500)
The option was introduced a few years ago, yet the manual page went
without an update. Add some basic documentation.

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Fixes: 42b32d30 ("modprobe: Fix holders removal")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/353
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
man/modprobe.8.scd

index 075704d8bae30c19b4fb08b870cf6a07f21380e7..78ecbb733879223b224c9b9d9bd8ecae19f7b8aa 100644 (file)
@@ -150,6 +150,10 @@ database.
        require it. Your distribution kernel may not have been built to support
        removal of modules at all.
 
+*--remove-holders*
+       This option causes *modprobe* to remove the mentioned module(s), alongside
+       other modules that depend on it/them - aka the reverse dependency list.
+
 *-w* _TIMEOUT_MSEC_, *--wait* _TIMEOUT_MSEC_
        This option causes *modprobe -r *to continue trying to remove a module
        if it fails due to the module being busy, i.e. its refcount is not 0 at