Skip to content

Commit

Permalink
slides/sysdev-block-filesystems: use /mnt for mounting
Browse files Browse the repository at this point in the history
Instead of /tmp, less standard

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
  • Loading branch information
michaelopdenacker committed Aug 7, 2023
1 parent 354417d commit 6fb3f3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
Expand Up @@ -360,9 +360,9 @@ \subsection{Using block filesystems}
modify its contents from the development workstation, using the
{\bf loop} mechanism:
\item Example:\\
\code{mkdir /tmp/tst}\\
\code{mount -t ext4 -o loop rootfs.img /tmp/tst}
\item In the \code{/tmp/tst} directory, one can access and modify
\code{mkdir /mnt/test}\\
\code{mount -t ext4 -o loop rootfs.img /mnt/test}
\item In the \code{/mnt/test} directory, one can access and modify
the contents of the \code{rootfs.img} file.
\item This is possible thanks to \code{loop}, which is a kernel
driver that emulates a block device with the contents of a file.
Expand Down

0 comments on commit 6fb3f3b

Please sign in to comment.