GNU bug report logs - #19305
Integrate dd wrapper "progress-dd" with coreutils

Previous Next

Package: coreutils;

Reported by: Sebastian Pipping <sebastian <at> pipping.org>

Date: Mon, 8 Dec 2014 14:31:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 19305-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Sebastian Pipping <sebastian <at> pipping.org>, 
 19305-done <at> debbugs.gnu.org
Subject: Re: bug#19305: Integrate dd wrapper "progress-dd" with coreutils
Date: Mon, 08 Dec 2014 14:58:14 +0000
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.




This bug report was last modified 10 years and 245 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.