GNU bug report logs - #12489
inconsistent output from 'dd' w/rt stats and suppression.

Previous Next

Package: coreutils;

Reported by: Linda Walsh <coreutils <at> tlinx.org>

Date: Sat, 22 Sep 2012 19:12:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


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

From: Eric Blake <eblake <at> redhat.com>
To: Linda Walsh <coreutils <at> tlinx.org>
Cc: 12489-done <at> debbugs.gnu.org, pozsy <at> uhulinux.hu,
	Pádraig Brady <P <at> draigBrady.com>
Subject: Re: bug#12489: inconsistent output from 'dd' w/rt stats and
	suppression.
Date: Mon, 24 Sep 2012 14:32:19 -0600
[Message part 1 (text/plain, inline)]
[we tend to avoid top-posting on this list]

On 09/24/2012 02:15 PM, Linda Walsh wrote:
> Thanks, um... (update docs? -- manpages?)

Yep, those were included.  Docs via:

+++ b/doc/coreutils.texi
@@ -8115,10 +8115,24 @@ of everything until the end of the file.
 if @samp{iflag=count_bytes} is specified, @var{n} is interpreted
 as a byte count rather than a block count.

-@item status=noxfer
+@item status=@var{which}
 @opindex status
-Do not print the overall transfer rate and volume statistics
-that normally make up the third status line when @command{dd} exits.
+Transfer information is normally output to stderr upon
+receipt of the @samp{INFO} signal or when @command{dd} exits.
+Specifying @var{which} will identify which information to suppress.
+
+@table @samp
+
+@item noxfer
+@opindex noxfer
+Do not print the transfer rate and volume statistics
+that normally make up the last status line.
+
+@item none
+@opindex none
+Do not print any informational messages to stderr.
+
+@end table

 @item conv=@var{conversion}[,@var{conversion}]@dots{}
 @opindex conv



and manpage (which is generated from --help output) via:

@@ -536,7 +540,8 @@ Copy a file, converting and formatting according to
the operands.\n\
   oflag=FLAGS     write as per the comma separated symbol list\n\
   seek=N          skip N obs-sized blocks at start of output\n\
   skip=N          skip N ibs-sized blocks at start of input\n\
-  status=noxfer   suppress transfer statistics\n\
+  status=WHICH    WHICH info to suppress outputting to stderr;\n\
+                  'noxfer' suppresses transfer stats, 'none' suppresses
all\n\
 "), stdout);
       fputs (_("\
 \n\



-- 
Eric Blake   eblake <at> redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 12 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.