[FE training-materials-updates] correct and detail mkfs.ubifs options
Michael Opdenacker
michael.opdenacker at free-electrons.com
Thu Oct 31 07:17:01 CET 2013
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=5261058ab9d8df9cc0802f4220643abc51049d17
>---------------------------------------------------------------
commit 5261058ab9d8df9cc0802f4220643abc51049d17
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Thu Oct 31 05:53:28 2013 +0100
correct and detail mkfs.ubifs options
- mkfs.ubifs takes the *logical* erase block size
(reported by Marcin Bis)
- misc improvements
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
5261058ab9d8df9cc0802f4220643abc51049d17
.../sysdev-flash-filesystems.tex | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index 129db02..9a9db54 100644
--- a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -411,12 +411,13 @@ Creating 5 MTD partitions on "omap2-nand.0":
\begin{itemize}
\item \code{mkfs.ubifs -m 4096 -e 256KiB -c 1000 -r rootfs/ ubifs.img}
\begin{itemize}
- \item \code{-m 4096}, minimal I/O size
- \item \code{-e 256 KiB}, erase block size
+ \item \code{-m 4096}, minimal I/O size\\
+ (see \code{/sys/class/mtd/mtdx/writesize}).
+ \item \code{-e 252 KiB}, logical erase block size (smaller than
+ PEB size, look at \code{dmesg})
\item \code{-c 1000}, maximum number of logical erase
- blocks. See
- \url{http://www.linux-mtd.infradead.org/faq/ubifs.html\#L_max_leb_cnt}
- for details.
+ blocks. Details:
+ {\tiny\url{http://linux-mtd.infradead.org/faq/ubifs.html\#L_max_leb_cnt}}
\end{itemize}
\item Can be written to a UBI volume using \code{ubiupdatevol} and
the \code{/dev/ubiX_Y devices}
More information about the training-materials-updates
mailing list