When I'm dd-ing images (e.g. flashing SD Cards for raspberry pi), I
occasionally use pv from packages to do the file reading e.g.

pv armv7.img | doas dd bs=1M of=/dev/rsd1c

pv will send the file/device contents to stdout as fast as it can read it,
and dd will read stdin to write the file to disk (or to the raw device). pv
outputs a status bar, throughput statistics and ETA to stderr so you can
watch the progress.

On Tue, Jun 26, 2018 at 4:21 AM, Tuyosi T <nakajin.fu...@gmail.com> wrote:

> thanks for kind advises .
>
> on linux
> -----
> # dd if=/dev/sdb of=./OpenBSD-8G-snapshot.img bs=32k
> 58195+0 records in
> 58194+0 records out
> 1906900992 bytes (1.9 GB, 1.8 GiB) copied, 25.1818 s, 75.7 MB/s
> 109011+0 records in
> 109010+0 records out
> 3572039680 bytes (3.6 GB, 3.3 GiB) copied, 56.2196 s, 63.5 MB/s
> 154198+0 records in
> 154198+0 records out
> 5052760064 bytes (5.1 GB, 4.7 GiB) copied, 87.9162 s, 57.5 MB/s
> 185970+0 records in
> 185970+0 records out
> 6093864960 bytes (6.1 GB, 5.7 GiB) copied, 116.37 s, 52.4 MB/s
> 227547+0 records in
> 227546+0 records out
> 7456227328 bytes (7.5 GB, 6.9 GiB) copied, 147.202 s, 50.7 MB/s
> 241920+0 records in
> 241920+0 records out
> 7927234560 bytes (7.9 GB, 7.4 GiB) copied, 154.806 s, 51.2 MB/s
>
> ----
> regards
>

Reply via email to