[FE training-materials-updates] sysdev-block-filesystems: fix mksquashfs invocation
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Sep 20 08:49:28 CEST 2016
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=2e5f54465933cf04393fe5bc2cf64c02d067063b
>---------------------------------------------------------------
commit 2e5f54465933cf04393fe5bc2cf64c02d067063b
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date: Tue Sep 20 08:49:28 2016 +0200
sysdev-block-filesystems: fix mksquashfs invocation
As odd as it might seem, mksquashfs now only accepts options *after* the
source and destination path. Therefore:
mksquashfs rootfs/ rootfs.sqfs -noappend
works fine. But:
mksquashfs -noappend rootfs/ rootfs.sqfs
does not, and just shows the help text of mksquashfs without any other
explanation.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
>---------------------------------------------------------------
2e5f54465933cf04393fe5bc2cf64c02d067063b
slides/sysdev-block-filesystems/sysdev-block-filesystems.tex | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex b/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
index c3d7f6c..cf9d693 100644
--- a/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
+++ b/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
@@ -287,7 +287,7 @@ 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 -noappend rootfs/ rootfs.sqfs}
+ \item \code{mksquashfs rootfs/ rootfs.sqfs -noappend}
\item \code{-noappend}: re-create the image from scratch rather
than appending to it
\end{itemize}
More information about the training-materials-updates
mailing list