On 08/12/14 14:29, Sebastian Pipping wrote:
> Hi there,
> 
> 
> I would like to see dd wrapper "progress-dd" into coreutils.
> All it does is to keep sending USR1 to a child dd process to increase
> usability of that dd feature.
> It's up here:
> 
> http://git.goodpoint.de/?p=progress-dd.git;a=blob;f=progress-dd
> 
> I'm happy to fix any potential issues about it if your interested in
> general.

In general reusing existing tools with wrappers is a useful technique,
and often preferred over adding options to the tools themselves.
Though in this case we thought it more appropriate to add the status=progress
option to dd itself, as that has the added advantage of updating a single line:

  http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=af2a4ed2

Note also the following related commit which make the handling of SIGUSR1
free from races. See the example in coreutils.texi in the following
to avoid the startup races:

  http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=27d2c738

The above two patches will be in the next coreutils release.

thanks,
Pádraig.



Reply via email to