summaryrefslogtreecommitdiffstats
path: root/src/doc/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc/src/shared')
-rw-r--r--src/doc/src/shared/detect-sd-card-device-name.qdocinc22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/doc/src/shared/detect-sd-card-device-name.qdocinc b/src/doc/src/shared/detect-sd-card-device-name.qdocinc
index d934c60..7af98a5 100644
--- a/src/doc/src/shared/detect-sd-card-device-name.qdocinc
+++ b/src/doc/src/shared/detect-sd-card-device-name.qdocinc
@@ -42,6 +42,28 @@
//! [instructions]
+//! [instructions-usbdevice]
+ Plug in the USB storage device to the development host,
+ and use the following command on Linux to find out its device name:
+
+ \badcode
+ lsblk -d
+ \endcode
+
+ Removable devices such as flash drives have the value '1' in
+ the \e RM column. The full device path is \c {/dev/} followed by
+ the name.
+
+ On Windows, use the following command to get the device name:
+ \badcode
+ wmic logicaldisk where "drivetype=2 and access=0" get deviceid, volumename
+ \endcode
+
+ \warning Make sure to select the correct device, because selecting
+ the wrong one can result in a wiped hard drive.
+
+//! [instructions-usbdevice]
+
//! [unmount]
\badcode
umount /dev/<device_name>