From d9778a6d9ccc66088fb48583cd8143c514dc7b63 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 30 May 2025 19:23:04 +0100 Subject: [PATCH] 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 --- man/modprobe.8.scd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/man/modprobe.8.scd b/man/modprobe.8.scd index 075704d..78ecbb7 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