[bootlin/training-materials updates] master: Flash slides: mention ubinfo (b784f6e3)

Michael Opdenacker michael.opdenacker at bootlin.com
Thu Sep 24 06:38:14 CEST 2020

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


commit b784f6e3dd6a6180289494b72e657e7113730bcb
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Thu Sep 24 06:38:14 2020 +0200

    Flash slides: mention ubinfo
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


 slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index ccc2bc08..6e551b02 100644
--- a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -747,6 +747,8 @@ Device 0 bad blocks:
 	Detach an MTD partition/device from the UBI layer, and remove
         the associated UBI device\\
         Example: \code{ubidetach -m 1 /dev/ubi_ctrl}
+    \item \code{ubinfo -a}\\
+        Print information about all UBI devices and volumes
@@ -786,7 +788,7 @@ Device 0 bad blocks:
   Beware that some implementations of UBI commands in BusyBox are still
   incomplete. In particular:
-    \item \code{ubiformat} is not implemented yet
+    \item \code{ubiformat} and \code{ubinfo} are not implemented yet
     \item \code{ubirsvol} doesn't support \code{-N <name>}. You have
       to use specify the volume to resize by its id (\code{-n num}):\\
       \code{ubirsvol /dev/ubi0 -n 4 -s 64 MiB}
@@ -803,7 +805,7 @@ Device 0 bad blocks:
                  (see \code{/sys/class/mtd/mtdx/writesize}).
       \item \code{-e 258048}, logical erase block size (smaller than
                  PEB size, can be found in the kernel log after running
- 		 \code{ubiattach})
+		 \code{ubiattach})
       \item \code{-c 1000}, maximum size of the UBI volume the image
         will be flashed into, in number of logical erase blocks.
         Do not make this number unnecessary big, otherwise the UBIFS

More information about the training-materials-updates mailing list