[bootlin/training-materials updates] master: sysdev: slides: flash-filesystems: remove "UBIFS as rootfs" slide (930320ed)

Luca Ceresoli luca.ceresoli at bootlin.com
Sat Feb 4 00:35:05 CET 2023

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


commit 930320ed016814e14638b1232031645a78bb79c7
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date:   Fri Feb 3 18:57:12 2023 +0100

    sysdev: slides: flash-filesystems: remove "UBIFS as rootfs" slide
    But mention this feature in the main UBIFS slide.
    Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


 .../sysdev-flash-filesystems.tex                   | 24 +---------------------
 1 file changed, 1 insertion(+), 23 deletions(-)

diff --git a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index e407a044..ade9b79c 100644
--- a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -243,6 +243,7 @@ setenv mtdparts mtdparts=omap2-nand.0:512k(XLoader)ro,1536k(UBoot)ro...
   \item \url{http://www.linux-mtd.infradead.org/doc/ubifs.html}
   \item Journaling file system providing better performance than
         its predecessor (JFFS2) and addressing its scalability issues
+  \item Can be mounted as the root filesystem too
   \item UBIFS filesystem images can be created using \code{mkfs.ubifs}
         from {\em mtd-utils}:\\
       \code{mkfs.ubifs -m 4096 -e 258048 -c 1000 -r rootfs/ ubifs.img}
@@ -278,29 +279,6 @@ setenv mtdparts mtdparts=omap2-nand.0:512k(XLoader)ro,1536k(UBoot)ro...
-  \frametitle{Linux: Using a UBIFS filesystem as root filesystem}
-  \begin{itemize}
-  \item You just have to pass the following information on the kernel
-    command line:
-    \begin{itemize}
-    \item \code{ubi.mtd=UBI}\\
-      Attach the MTD partition named \code{UBI} to the UBI layer and
-      create \code{ubi0}.\\
-      Note: you can also use the MTD partition number (more error
-      prone): \code{ubi.mtd=1}
-    \item \code{rootfstype=ubifs root=ubi0:rootfs}\\
-      Mount the \code{rootfs} volume on \code{ubi0} as a UBIFS filesystem
-    \item \code{rootfstype=} lets the kernel know what filesystem
-      to mount as root filesystem. It's mandatory for UBIFS, but
-      it can also be used for block filesystems. This way the kernel
-      doesn't have to try all the filesystems it supports. This reduces
-      boot time.
-    \end{itemize}
-  \item Example: \code{rootfstype=ubifs ubi.mtd=UBI root=ubi0:rootfs}
-  \end{itemize}
   \frametitle{Linux: Block emulation layers}

More information about the training-materials-updates mailing list