[bootlin/training-materials updates] master: Embedded Linux: improve modprobe description (ba74675c)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Oct 29 10:46:40 CEST 2021

Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/ba74675c1c1872f8650176db5167adf08ff8b574


commit ba74675c1c1872f8650176db5167adf08ff8b574
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Mon Jul 19 20:29:16 2021 +0200

    Embedded Linux: improve modprobe description
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


 slides/sysdev-linux-intro-modules/sysdev-linux-intro-modules.tex | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/slides/sysdev-linux-intro-modules/sysdev-linux-intro-modules.tex b/slides/sysdev-linux-intro-modules/sysdev-linux-intro-modules.tex
index 36c0f489..2291c76f 100644
--- a/slides/sysdev-linux-intro-modules/sysdev-linux-intro-modules.tex
+++ b/slides/sysdev-linux-intro-modules/sysdev-linux-intro-modules.tex
@@ -93,9 +93,9 @@ $ dmesg
   \frametitle{Module utilities (2)}
-  \item \code{sudo modprobe <module_name>}\\
+  \item \code{sudo modprobe <top_module_name>}\\
     Most common usage of \code{modprobe}: tries to load all the
-    modules the given module depends on, and then this module. Lots of
+    dependencies of the given top module, and then this module. Lots of
     other options are available. \code{modprobe} automatically looks in
     \code{/lib/modules/<version>/} for the object file corresponding
     to the given module name.
@@ -112,9 +112,8 @@ $ dmesg
     Tries to remove the given module.\\
     Will only be allowed if the module is no longer in use (for
     example, no more processes opening a device file)
-  \item \code{sudo modprobe -r <module_name>}\\
-    Tries to remove the given module and all dependent modules (which
-    are no longer needed after removing the module)
+  \item \code{sudo modprobe -r <top_module_name>}\\
+    Tries to remove the given top module and all its no longer needed dependencies

More information about the training-materials-updates mailing list