bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19305: Integrate dd wrapper "progress-dd" with coreutils


From: Pádraig Brady
Subject: bug#19305: Integrate dd wrapper "progress-dd" with coreutils
Date: Mon, 08 Dec 2014 14:58:14 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

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

[Prev in Thread] Current Thread [Next in Thread]