diff options
author | Rob Landley | 2006-05-02 22:44:04 +0000 |
---|---|---|
committer | Rob Landley | 2006-05-02 22:44:04 +0000 |
commit | c5598177bc4b38d349e4fdbd08d997c170ed2f8b (patch) | |
tree | 9e88af6e4460a9afb83bb80e685cfc40f9c04dfc /coreutils/Config.in | |
parent | 67d5b8b5b1795a08eadfd3af467dc7a3e18d8769 (diff) | |
download | busybox-c5598177bc4b38d349e4fdbd08d997c170ed2f8b.zip busybox-c5598177bc4b38d349e4fdbd08d997c170ed2f8b.tar.gz |
Patch from Jason Schoon to add optional SIGUSR1 support to dd.
Diffstat (limited to 'coreutils/Config.in')
-rw-r--r-- | coreutils/Config.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/coreutils/Config.in b/coreutils/Config.in index 4eb3db0..6841ec9 100644 --- a/coreutils/Config.in +++ b/coreutils/Config.in @@ -115,6 +115,18 @@ config CONFIG_DD by default) using specific input and output blocksizes, while optionally performing conversions on it. +config CONFIG_FEATURE_DD_SIGNAL_HANDLING + bool "Enable DD signal handling for status reporting" + default y + depends on CONFIG_DD + help + sending a SIGUSR1 signal to a running `dd' process makes it + print to standard error the number of records read and written + so far, then to resume copying. + + $ dd if=/dev/zero of=/dev/null& pid=$! $ kill -USR1 $pid; sleep 1; kill $pid + 10899206+0 records in 10899206+0 records out + config CONFIG_DF bool "df" default n |