[bootlin/training-materials updates] master: slides/sysdev-flash-filesystems: re-add some details on UBI Linux tools (209cda1f)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Nov 25 13:39:22 CET 2022

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


commit 209cda1f32037e3a10188dd7eef91b414d4728bf
Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Date:   Fri Nov 25 13:39:22 2022 +0100

    slides/sysdev-flash-filesystems: re-add some details on UBI Linux tools
    We at least need to mention ubiattach, otherwise it doesn't make
    sense: you can't mount a UBIFS filesystem without doing a
    ubiattach. It also helps to explain the ubi.mtd= kernel argument
    explained in the next slide.
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>


 slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index 6257d3f3..a4b0fae1 100644
--- a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -369,11 +369,13 @@ vol_flags=autoresize
   \frametitle{Linux: UBI / UBIFS target tools}
   \item Target tools exist for creating UBI spaces and manipulating volumes:\\
-         see \url{http://www.linux-mtd.infradead.org/doc/ubi.html\#L_usptools}
-  \item No specific tools are required to create a new UBIFS filesystem.
-	An empty filesystem is created the first time it is mounted.
-        The same applies to JFFS2.
-  \item Mounting a UBIFS filesystem is done with \code{mount}:\\
+    see \url{http://www.linux-mtd.infradead.org/doc/ubi.html\#L_usptools}
+  \item Attaching a MTD partition to UBI:\\
+    \code{ubiattach -m <MTD-device-id> /dev/ubi_ctrl}
+  \item Commands to manipulate volumes:\\ \code{ubimkvol},
+    \code{ubirmvol}, \code{ubiupdatevol}, \code{ubirsvol},
+    \code{ubirename}
+  \item Mounting a UBIFS filesystem:\\
     \code{mount -t ubifs <ubi-device-id>:<volume-name> <mount-point>}
   \item Example:\\
     \code{mount -t ubifs ubi0:data /data}

More information about the training-materials-updates mailing list