Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2011 17:43:11 +0300 (MSK)
From:      Maxim Konovalov <maxim.konovalov@gmail.com>
To:        Chris Rees <utisoft@gmail.com>
Cc:        freebsd-standards@freebsd.org
Subject:   Re: dd dies on SIGUSR1
Message-ID:  <alpine.BSF.2.00.1103211741220.58326@mp2.macomnet.net>
In-Reply-To: <AANLkTi=mWZ7j=pN-tDo_7E7SmFtHnCDEy3pMSBhBoiBL@mail.gmail.com>
References:  <AANLkTi=mWZ7j=pN-tDo_7E7SmFtHnCDEy3pMSBhBoiBL@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1103211741220.58326>