Quick Start Linux (QSL) becomes popular on CIoT platforms to our front line members & customers. Using "dd" command in Linux to restore our QSL image back to an usb dongle is one of use cases to QSL users.
Adding status parameter to monitor dd process is quite helpful, but do you know what's the meanings from the output values?
- Advantechers technician.
root@ubuntu:/home/1.Images/qsl# gzip -dc fwa1012vc_qsl_standard_1.06.img.gz | dd of=/dev/sdb bs=1M status=progress
7607484416 bytes (7.6 GB, 7.1 GiB) copied, 1089 s, 7.0 MB/s
They are all about the calculations.
The first number (7607484416) is the number of bytes copied so far. The second number is this interpreted as the SI unit Gigabytes (1 GB is 10003 bytes). The third number is this interpreted as the IEC unit Gibibytes (1 GiB is 10243 bytes). Notice the difference between "GB" and "GiB".