[bootlin/training-materials updates] master: SDcard instructions: detail "nodiscard" option (7641ea23)

Michael Opdenacker michael.opdenacker at bootlin.com
Thu May 16 14:17:19 CEST 2019

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


commit 7641ea2344c006e2c1a89c34da30bf24fab1474c
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Thu May 16 13:56:01 2019 +0200

    SDcard instructions: detail "nodiscard" option
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


 common/boneblack-sdcard-preparation.tex | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/common/boneblack-sdcard-preparation.tex b/common/boneblack-sdcard-preparation.tex
index 9e4a232d..908ba88b 100644
--- a/common/boneblack-sdcard-preparation.tex
+++ b/common/boneblack-sdcard-preparation.tex
@@ -69,6 +69,12 @@ To format your SD card, do the following steps:
   \code{sudo mkfs.ext4 -L rootfs -E nodiscard /dev/mmcblk0p2}. Use
   \code{sdc2} or \code{sdb2} instead of \code{mmcblk0p2} if needed.
+\item \code{-L} assigns a volume name to the partition
+\item \code{-E nodiscard} disables bad block discarding. While this
+      should be a useful option for cards with bad blocks, skipping
+      this step saves long minutes in SD cards.
 Remove the SD card and insert it again, the two partitions should be

More information about the training-materials-updates mailing list