GNU bug report logs - #34923
dd: add messages about IO errors

Previous Next

Package: coreutils;

Reported by: "Daniel A. Gauthier" <fractal2010 <at> fractals.net>

Date: Wed, 20 Mar 2019 01:55:02 UTC

Severity: wishlist

Tags: notabug

Full log


Message #15 received at control <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>,
 "Daniel A. Gauthier" <fractal2010 <at> fractals.net>, 34923 <at> debbugs.gnu.org
Subject: Re: bug#34923: Message/race bug in 'dd'
Date: Thu, 28 Mar 2019 11:57:04 -0600
tags 34923 notabug
severity 34923 wishlist
retitle 34923 dd: add messages about IO errors
stop

On 2019-03-19 9:44 p.m., Paul Eggert wrote:
> Daniel A. Gauthier wrote:
>> NOTICE that the "+nn" value on the line is always one off.  It says +0
>> after the first error, +1 after the second, etc. until the correct count
>> of error/short blocks is given at the end.
> 
> The count is supposed to just count short blocks, not errors. This is a 
> POSIX requirement. I installed the attached documentation patch to try 
> to make this clearer.

The documentation improvement was added here:
https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=59e01d13e600be0d2c7f08f3aff8cf11936b3ea1


> Perhaps dd should output a separate line to stderr that summaries I/O 
> errors; it could do that without violating POSIX.

Marking this as a wishlist item.

-assaf






This bug report was last modified 6 years and 144 days ago.

Previous Next


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