dd dies on SIGUSR1

Maxim Konovalov maxim.konovalov at gmail.com
Mon Mar 21 14:43:13 UTC 2011


On Mon, 21 Mar 2011, 12:03-0000, Chris Rees wrote:

> Hi all,
>
> Does anyone have any thoughts on [1]?
>
>
> It's a common usage in GNU systems to send SIGUSR1 to dd, which
> causes it to print info. However... when I tried it it died (ouch).
>
> Two patches are in the PR, one to print summary (imitate GNU) and
> after talking to gavin@ on #bsdcode I made one to ignore the signal.
>
> Which one of these fixes will be most popular?
>
FreeBSD uses SIGINFO for such purposes for ages in many programs
apart from dd(1).  IMHO, nothing to fix here.

-- 
Maxim Konovalov


More information about the freebsd-standards mailing list