On 2018-06-26, Ax0n <a...@h-i-r.net> wrote:
> 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.

pv can be useful, but it can also slow things down a lot sometimes.
A common shell config on BSDs is to have this:

stty status ^T

Then you can press ^T to send SIGINFO to the active process, it works
for a few things (some other common ones besides dd are ping and fsck).


Reply via email to