From: Emil Velikov Date: Fri, 30 May 2025 18:23:04 +0000 (+0100) Subject: man/modprobe.8: document --remove-holders X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d9778a6d9ccc66088fb48583cd8143c514dc7b63;p=thirdparty%2Fkmod.git 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 Fixes: 42b32d30 ("modprobe: Fix holders removal") Signed-off-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/353 Signed-off-by: Lucas De Marchi --- diff --git a/man/modprobe.8.scd b/man/modprobe.8.scd index 075704d8..78ecbb73 100644 --- a/man/modprobe.8.scd +++ b/man/modprobe.8.scd @@ -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