[bootlin/training-materials updates] master: Block filesystems: improvements (70e68273)
Michael Opdenacker
michael.opdenacker at bootlin.com
Wed May 27 13:30:00 CEST 2020
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/70e682738ea21e75d44aaa615a206c3739cb9f0f
>---------------------------------------------------------------
commit 70e682738ea21e75d44aaa615a206c3739cb9f0f
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Wed May 27 13:30:00 2020 +0200
Block filesystems: improvements
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
70e682738ea21e75d44aaa615a206c3739cb9f0f
slides/sysdev-block-filesystems/sysdev-block-filesystems.tex | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex b/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
index 5898f3ae..291542e2 100644
--- a/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
+++ b/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
@@ -93,6 +93,12 @@ major minor #blocks name
Transfers the complete contents of \code{testfile} to
\code{/dev/sda2}, by blocks of 1 MB, but starting at offset 4 MB
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}\\
+ Instead, you should use:\\
+ \code{sudo mount /dev/sda1 /boot}\\
+ \code{cp zImage /boot/}\\
\end{itemize}
\end{itemize}
\end{frame}
@@ -109,7 +115,7 @@ major minor #blocks name
\item \code{ext4}, mainly brought performance improvements and
support for even larger filesystems
\end{itemize}
- \item It supports all features Linux needs from a filesystem:
+ \item It supports all features Linux needs in a root filesystem:
permissions, ownership, device files, symbolic links, etc.
\end{itemize}
\end{frame}
@@ -214,6 +220,7 @@ major minor #blocks name
\item This filesystem does {\em not} support features like
permissions, ownership, symbolic links, etc. Cannot be used for
a Linux root filesystem.
+ \item Linux now supports the exFAT filesystem too (\code{exfat}).
\end{itemize}
\item \code{ntfs} for compatibility with the NTFS filesystem used on
Windows
More information about the training-materials-updates
mailing list