man/modprobe.8: document --remove-holders

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>
This commit is contained in:
Emil Velikov 2025-05-30 19:23:04 +01:00 committed by Lucas De Marchi
parent 077323d034
commit d9778a6d9c

View 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