----- Original Message -----
> From: "PƔdraig Brady" <address@hidden>
> To: "Federico Simoncelli" <address@hidden>
> Cc: "Bernhard Voelker" <address@hidden>, "Coreutils" <address@hidden>
> Sent: Friday, September 26, 2014 6:05:33 PM
> Subject: Re: dd SIGUSR1 race
>
> > Many other commands are providing an explicit flag: wget, curl,
> > qemu-img, etc.
>
> Yes, I see qemu-img supports both.
> If not too invasive, we could accept a status=progress patch to output
> stats every approx 1s (noting the caveats of being blocked behind large
> reads/writes)
I'll try to investigate if I can easily use sigusr1 with your new patch,
meanwhile I came up with a patch adding status=progress.
It's a simple draft and I am open to hear all comments about it,
especially on what's the format to report the progress.
For example qemu-img uses '\r' so that the output is always on the same
line.
Patch in attachment.
--
Federico