[bootlin/training-materials updates] master: Block filesystem: modify dangerous example (bf85f993)
Michael Opdenacker
michael.opdenacker at bootlin.com
Wed Feb 24 14:02:03 CET 2021
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/bf85f993c385948007fe4dceb6eb7eecbccbf148
>---------------------------------------------------------------
commit bf85f993c385948007fe4dceb6eb7eecbccbf148
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Wed Feb 24 14:02:03 2021 +0100
Block filesystem: modify dangerous example
- Replace by something less likely to "succeed"
if someone types it without understanding what it does
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
bf85f993c385948007fe4dceb6eb7eecbccbf148
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 cc031440..9236a953 100644
--- a/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
+++ b/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
@@ -95,9 +95,9 @@ major minor #blocks name
in \code{/dev/sda2}
\item {\bf Typical mistake}: copying a file to a filesystem without
mounting it first:\\
- \code{dd if=zImage of=/dev/sda1}\\
+ \code{dd if=zImage of=/dev/sde1}\\
Instead, you should use:\\
- \code{sudo mount /dev/sda1 /boot}\\
+ \code{sudo mount /dev/sde1 /boot}\\
\code{cp zImage /boot/}\\
\end{itemize}
\end{itemize}
More information about the training-materials-updates
mailing list