[bootlin/training-materials updates] master: sysdev: Creating a directory in /mnt and mounting need privileges (7e1f7cc2)

Miquel Raynal miquel.raynal at bootlin.com
Wed May 15 13:55:30 CEST 2019

Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/7e1f7cc2a4d1cf107f91bac9d92b7f4af1783325


commit 7e1f7cc2a4d1cf107f91bac9d92b7f4af1783325
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date:   Wed May 15 13:55:30 2019 +0200

    sysdev: Creating a directory in /mnt and mounting need privileges
    Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>


 .../sysdev-root-filesystem-principles.tex                             | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/slides/sysdev-root-filesystem-principles/sysdev-root-filesystem-principles.tex b/slides/sysdev-root-filesystem-principles/sysdev-root-filesystem-principles.tex
index 744ddb25..7c569538 100644
--- a/slides/sysdev-root-filesystem-principles/sysdev-root-filesystem-principles.tex
+++ b/slides/sysdev-root-filesystem-principles/sysdev-root-filesystem-principles.tex
@@ -27,12 +27,12 @@
   \frametitle{Filesystems (2)}
   \item Create a mount point, which is just a directory\\
-    \code{$ mkdir /mnt/usbkey}
+    \code{$ sudo mkdir /mnt/usbkey}
   \item It is empty\\
     \code{$ ls /mnt/usbkey}\\
   \item Mount a storage device in this mount point\\
-    \code{$ mount -t vfat /dev/sda1 /mnt/usbkey}\\
+    \code{$ sudo mount -t vfat /dev/sda1 /mnt/usbkey}\\
   \item You can access the contents of the USB key\\
     \code{$ ls /mnt/usbkey}\\

More information about the training-materials-updates mailing list