[PATCH] Add signal handling for status update to dd
Rob Landley
rob at landley.net
Tue May 2 19:23:34 UTC 2006
On Tuesday 02 May 2006 10:19 am, Jason Schoon wrote:
> On 5/1/06, Jason Schoon <floydpink at gmail.com> wrote:
> > On 5/1/06, Rob Landley <rob at landley.net> wrote:
> > > On Sunday 30 April 2006 11:52 pm, Jason Schoon wrote:
> > > > The standard dd allows for sending a SIGUSR1 to report the current
> > > > number of blocks written. This patch adds this behavior as an option
> > > > to busybox.
> > >
> > > "Option" implies that it can be configured out so it doesn't cost space
> >
> > for
> >
> > > people who don't want it.
> >
> > Yes, good point, this patch was missing the modified Config.in. I'll
> > resubmit shortly.
>
> Attached is a more complete patch to implement signal handling in dd as an
> option.
The start of that says:
> diff -ruN --strip-trailing-cr busybox.orig/Config.in busybox/Config.in
> --- busybox.orig/Config.in 2006-04-25 22:48:47.000000000 -0500
> +++ busybox/Config.in 2006-04-30 21:11:43.000000000 -0500
> @@ -56,6 +56,14 @@
> busybox binary. In the default configuration, this will add about
> 13k, but it can add much more depending on your configuration.
>
> +config CONFIG_FEATURE_COMPRESS_USAGE
> + bool "Store applet usage messages in compressed form"
> + default y
> + depends on CONFIG_SHOW_USAGE
> + help
> + Store usage messages in compressed form, uncompress them
on-the-fly
> + when <applet> --help is called.
> +
> config CONFIG_FEATURE_INSTALLER
>
Which, last I checked, is already in. The CONFIG entry for dd doesn't seem to
be present.
Care to try again?
Rob
--
Never bet against the cheap plastic solution.
More information about the busybox
mailing list