[bootlin/training-materials updates] master: Kernel slides: udev no longer used for device file creation (6ac27f7a)
Michael Opdenacker
michael.opdenacker at bootlin.com
Tue Sep 3 16:10:35 CEST 2019
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/6ac27f7a03a9045e905614755e103c695432d445
>---------------------------------------------------------------
commit 6ac27f7a03a9045e905614755e103c695432d445
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Tue Sep 3 16:10:35 2019 +0200
Kernel slides: udev no longer used for device file creation
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
6ac27f7a03a9045e905614755e103c695432d445
slides/kernel-device-model/kernel-device-model.tex | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/slides/kernel-device-model/kernel-device-model.tex b/slides/kernel-device-model/kernel-device-model.tex
index 22feea74..846f8243 100644
--- a/slides/kernel-device-model/kernel-device-model.tex
+++ b/slides/kernel-device-model/kernel-device-model.tex
@@ -145,10 +145,11 @@
\item Defines the set of devices that this driver can manage, so
that the USB core knows for which devices this driver should be
used
- \item The \kfunc{MODULE_DEVICE_TABLE} macro allows \code{depmod} to
- extract at compile time the relation between device identifiers
- and drivers, so that drivers can be loaded automatically by
- \code{udev}. See \code{/lib/modules/$(uname -r)/modules.{alias,usbmap}}
+ \item The \kfunc{MODULE_DEVICE_TABLE} macro allows \code{depmod}
+ (run by \code{make modules_install}) to extract the relationship
+ between device identifiers and drivers, so that drivers can be
+ loaded automatically by \code{udev}.
+ See \code{/lib/modules/$(uname -r)/modules.{alias,usbmap}}
\end{itemize}
\begin{block}{}
\begin{minted}[fontsize=\footnotesize]{c}
@@ -718,7 +719,7 @@ static struct platform_driver serial_omap_driver = {
\item The \code{sysfs} virtual filesystem offers a mechanism to
export such information to user space
\item Used for example by \code{udev} to provide automatic module loading,
- firmware loading, device file creation, etc.
+ firmware loading, mounting of external media, etc.
\item \code{sysfs} is usually mounted in \code{/sys}
\begin{itemize}
\item \code{/sys/bus/} contains the list of buses
More information about the training-materials-updates
mailing list