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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Sworddragon <sworddragon2 <at> gmail.com>
Subject: bug#51482: closed (Re: bug#51482: dd with status=progress does
 not update its output when the main writing is finished)
Date: Fri, 28 Jan 2022 02:39:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#51482: dd with status=progress does not update its output when the main writing is finished

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 51482 <at> debbugs.gnu.org.

-- 
51482: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51482
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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 3 (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)]
[Message part 5 (message/rfc822, inline)]
From: Sworddragon <sworddragon2 <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: dd with status=progress does not update its output when the main
 writing is finished
Date: Fri, 29 Oct 2021 14:22:02 +0000
[Message part 6 (text/plain, inline)]
Originally found as additional minor bug in ticket #51345 (Knoppix 9.1 with
GNU Coreutils 8.32), I think it is a good idea to create a dedicated report
for it to avoid getting it lost.

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.
[Message part 7 (text/html, inline)]

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.