[bootlin/training-materials updates] master: Block filesystems: clarify mksquashfs example (f516f1e0)
Michael Opdenacker
michael.opdenacker at bootlin.com
Thu Mar 24 15:16:21 CET 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/f516f1e058c13b7e4f20777ea4ef38a536422efe
>---------------------------------------------------------------
commit f516f1e058c13b7e4f20777ea4ef38a536422efe
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Thu Mar 24 15:16:21 2022 +0100
Block filesystems: clarify mksquashfs example
Less confusiong, suggested by a participant
The previous wording could make readers think that the mounted
filesystem was the root filesytem for the target.
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
f516f1e058c13b7e4f20777ea4ef38a536422efe
slides/sysdev-block-filesystems/sysdev-block-filesystems.tex | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex b/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
index c38e2983..05639ad5 100644
--- a/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
+++ b/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
@@ -335,14 +335,14 @@ major minor #blocks name
filesystem would be useless, since it's read-only.
\item To create a {\em squashfs} image:
\begin{itemize}
- \item \code{mksquashfs rootfs/ rootfs.sqfs -noappend}
+ \item \code{mksquashfs data/ data.sqfs -noappend}
\item \code{-noappend}: re-create the image from scratch rather
than appending to it
\end{itemize}
\item Examples mounting a squashfs filesystem:
\begin{itemize}
\item Same way as for other block filesystems
- \item \code{mount -o loop rootfs.sqfs /mnt} (filesystem image on the host)
+ \item \code{mount -o loop data.sqfs /mnt} (filesystem image on the host)
\item \code{mount /dev/<device> /mnt} (on the target)
\end{itemize}
\end{itemize}
More information about the training-materials-updates
mailing list