[bootlin/training-materials updates] master: Block filesystems: small improvements (2b3c4643)

Michael Opdenacker michael.opdenacker at bootlin.com
Wed Sep 2 18:29:22 CEST 2020


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

>---------------------------------------------------------------

commit 2b3c46434fe9759bd1f92aee01e744d062c43f93
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Wed Sep 2 18:29:22 2020 +0200

    Block filesystems: small improvements
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


>---------------------------------------------------------------

2b3c46434fe9759bd1f92aee01e744d062c43f93
 labs/sysdev-block-filesystems/sysdev-block-filesystems.tex   | 3 +++
 slides/sysdev-block-filesystems/sysdev-block-filesystems.tex | 7 ++++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/labs/sysdev-block-filesystems/sysdev-block-filesystems.tex b/labs/sysdev-block-filesystems/sysdev-block-filesystems.tex
index 73e601c4..8285387e 100644
--- a/labs/sysdev-block-filesystems/sysdev-block-filesystems.tex
+++ b/labs/sysdev-block-filesystems/sysdev-block-filesystems.tex
@@ -90,6 +90,9 @@ following properties:
 \begin{itemize}
 
 \item One partition, 64MB big, with the \code{FAT16} partition type.
+  Mark it as bootable. Some ROM codes expect such a flag for
+  finding the first stage bootloader (we will eventually store the
+  bootloader files and the kernel in this partition).
 
 \item One partition, 8 MB big\footnote{For the needs of our system,
   the partition could even be much smaller, and 1 MB would be enough.
diff --git a/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex b/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
index c6560df3..20d9f4dc 100644
--- a/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
+++ b/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
@@ -231,7 +231,7 @@ major minor #blocks name
 \begin{frame}
   \frametitle{Compatibility filesystems}
   Linux also supports several other filesystem formats, mainly to be
-  interopable with other operating systems:
+  interoperable with other operating systems:
   \begin{itemize}
   \item \code{vfat} for compatibility with the FAT filesystem used in
     the Windows world and on numerous removable devices
@@ -285,8 +285,9 @@ major minor #blocks name
     your files and directories
     \begin{itemize}
     \item Use the \code{genext2fs} tool, from the package of the same name
-    \item This tool only supports ext2. No equivalents exist for ext3
-          and ext4.
+    \item This tool only supports ext2. Alternative for other
+          filesystems: create a disk image, format it, mount it (see
+          next slides), copy contents and umount.
     \item \code{genext2fs -d rootfs/ rootfs.img}
     \item Your image is then ready to be transferred to your block
       device




More information about the training-materials-updates mailing list