[bootlin/training-materials updates] master: sysdev: slides: swap insmod/rmmod and lsmod slides (c14c7cf7)
Luca Ceresoli
luca.ceresoli at bootlin.com
Tue Dec 13 18:14:52 CET 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/c14c7cf7b5f27755a54222e142764b20df10bf45
>---------------------------------------------------------------
commit c14c7cf7b5f27755a54222e142764b20df10bf45
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date: Tue Dec 13 18:14:52 2022 +0100
sysdev: slides: swap insmod/rmmod and lsmod slides
When giving the training I found it non-natural that very related tools
like insmod/rmmod and modprobe are not consecutive.
Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>
>---------------------------------------------------------------
c14c7cf7b5f27755a54222e142764b20df10bf45
slides/sysdev-hw-devices/sysdev-hw-devices.tex | 48 +++++++++++++-------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/slides/sysdev-hw-devices/sysdev-hw-devices.tex b/slides/sysdev-hw-devices/sysdev-hw-devices.tex
index 658f4902..82407383 100644
--- a/slides/sysdev-hw-devices/sysdev-hw-devices.tex
+++ b/slides/sysdev-hw-devices/sysdev-hw-devices.tex
@@ -622,30 +622,6 @@ parm: quirks:supplemental list of device IDs and their quirks (string)
\end{block}
\end{frame}
-\begin{frame}[fragile]{Module utilities: {\em insmod} and {\em rmmod}}
- \begin{itemize}
- \item Basic tools to:
- \begin{itemize}
- \item {\em load} a module: \code{insmod}
- \item {\em unload} a module: \code{rmmod}
- \end{itemize}
- \item Basic because:
- \begin{itemize}
- \item Need a full path to the module \code{.ko} file
- \item Do not handle module dependencies
- \end{itemize}
- \end{itemize}
-
- \begin{block}{}
- {\footnotesize
-\begin{verbatim}
-# insmod /lib/modules/`uname -r`/kernel/fs/fuse/cuse.ko.xz
-# rmmod cuse
-\end{verbatim}
- }
- \end{block}
-\end{frame}
-
\begin{frame}[fragile]{Module utilities: {\em lsmod}}
\begin{itemize}
@@ -679,6 +655,30 @@ ip6_udp_tunnel 16384 1 wireguard
\end{block}
\end{frame}
+\begin{frame}[fragile]{Module utilities: {\em insmod} and {\em rmmod}}
+ \begin{itemize}
+ \item Basic tools to:
+ \begin{itemize}
+ \item {\em load} a module: \code{insmod}
+ \item {\em unload} a module: \code{rmmod}
+ \end{itemize}
+ \item Basic because:
+ \begin{itemize}
+ \item Need a full path to the module \code{.ko} file
+ \item Do not handle module dependencies
+ \end{itemize}
+ \end{itemize}
+
+ \begin{block}{}
+ {\footnotesize
+\begin{verbatim}
+# insmod /lib/modules/`uname -r`/kernel/fs/fuse/cuse.ko.xz
+# rmmod cuse
+\end{verbatim}
+ }
+ \end{block}
+\end{frame}
+
\begin{frame}[fragile]{Module utilities: {\em modprobe}}
\begin{itemize}
\item {\em modprobe} is the more advanced tool for loading/unloading
More information about the training-materials-updates
mailing list