]> git.ipfire.org Git - thirdparty/coreutils.git/commit
dd: new status=progress level to print stats periodically
authorFederico Simoncelli <fsimonce@redhat.com>
Fri, 26 Sep 2014 17:12:32 +0000 (17:12 +0000)
committerPádraig Brady <P@draigBrady.com>
Tue, 30 Sep 2014 15:08:43 +0000 (16:08 +0100)
commitaf2a4ed22594badd2719c0123441d69b17bd8328
tree7b27a3c86f8d6d75b4b8f6cead88e9b6f1378958
parent27d2c7383f18d0f59b0d096f156ed6cb1677642b
dd: new status=progress level to print stats periodically

* src/dd.c: Report the transfer progress every second when the
new status=progress level is used.  Adjust the handling and
description of the status= option so that they're treated as
mutually exclusive levels, rather than flags with implicit precedence.
* doc/coreutils.texi (dd invocation): Document the new progress
status level.  Reference the new level in the description of SIGUSR1.
* tests/dd/stats.sh: Add new test for status=progress.
* tests/dd/misc.sh: Change so status=none only takes precedence
if it's the last level specified.
* NEWS: Mention the feature.
NEWS
doc/coreutils.texi
src/dd.c
tests/dd/misc.sh
tests/dd/stats.sh