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

Michael Opdenacker michael.opdenacker at bootlin.com
Mon Jul 19 20:29:16 CEST 2021


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

>---------------------------------------------------------------

commit 97fd47e0b270f8edf23516cb0ef66d4db03695b8
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>


>---------------------------------------------------------------

97fd47e0b270f8edf23516cb0ef66d4db03695b8
 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
 \begin{frame}
   \frametitle{Module utilities (2)}
   \begin{itemize}
-  \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
   \end{itemize}
 \end{frame}
 




More information about the training-materials-updates mailing list