GNU bug report logs - #51482
dd with status=progress does not update its output when the main writing is finished

Previous Next

Package: coreutils;

Reported by: Sworddragon <sworddragon2 <at> gmail.com>

Date: Fri, 29 Oct 2021 14:23:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Sworddragon <sworddragon2 <at> gmail.com>
Cc: 51482-done <at> debbugs.gnu.org
Subject: Re: bug#51482: dd with status=progress does not update its output
 when the main writing is finished
Date: Thu, 27 Jan 2022 18:38:44 -0800
[Message part 1 (text/plain, inline)]
On 10/29/21 07:22, Sworddragon wrote:

> When dd is being used with status=progress it appears to update the status
> every second but does not do a final update when dd finished its main
> writing task (e.g. when dd starts flushing via conv=fsync and it still
> blocks for like over a minute) causing the output to be incorrect and
> inconsistent across multiple tries.

Thanks for mentioning that. I installed the attached to implement your 
suggestion, and am boldly closing the bug report. Please give it a try 
when you have the chance.
[0001-dd-output-final-progress-before-syncing.patch (text/x-patch, attachment)]

This bug report was last modified 3 years and 118 days ago.

Previous Next


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