From owner-freebsd-bugs@FreeBSD.ORG Wed Jun 29 10:00:13 2011 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31AB9106564A for ; Wed, 29 Jun 2011 10:00:13 +0000 (UTC) (envelope-from freebsd-bugs@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id CE3978FC08 for ; Wed, 29 Jun 2011 10:00:12 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QbrKT-0007NC-Op for freebsd-bugs@freebsd.org; Wed, 29 Jun 2011 11:45:05 +0200 Received: from nuclight.avtf.net ([82.117.70.99]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Jun 2011 11:45:05 +0200 Received: from vadim_nuclight by nuclight.avtf.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Jun 2011 11:45:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-bugs@freebsd.org From: Vadim Goncharov Date: Wed, 29 Jun 2011 09:39:56 +0000 (UTC) Organization: Nuclear Lightning @ Tomsk, TPU AVTF Hostel Lines: 31 Message-ID: References: <201106061820.p56IKoDT040550@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: nuclight.avtf.net X-Comment-To: jh@FreeBSD.org User-Agent: slrn/0.9.9p1 (FreeBSD) Subject: Re: bin/155034: [PATCH] dd(1) dies on SIGUSR1; should print info X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vadim_nuclight@mail.ru List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2011 10:00:13 -0000 Hi jh@FreeBSD.org! On Mon, 6 Jun 2011 18:20:50 GMT; jh@FreeBSD.org wrote about 'Re: bin/155034: [PATCH] dd(1) dies on SIGUSR1; should print info': > Synopsis: [PATCH] dd(1) dies on SIGUSR1; should print info > State-Changed-From-To: open->closed > State-Changed-By: jh > State-Changed-When: Mon Jun 6 18:04:17 UTC 2011 > State-Changed-Why: > Not a bug. As far as I can see ignoring the signal would violate POSIX: > "For SIGINT, the dd utility shall interrupt its current processing, > write status information to standard error, and exit as though > terminated by SIGINT. It shall take the standard action for all other > signals; - -" The originator requested compatibilty shim with Linux dd, in fact: info dd: Sending an `INFO' signal to a running `dd' process makes it print I/O statistics to standard error and then resume copying. [...] On systems lacking the `INFO' signal `dd' responds to the `USR1' signal instead, unless the `POSIXLY_CORRECT' environment variable is set. -- WBR, Vadim Goncharov. ICQ#166852181 mailto:vadim_nuclight@mail.ru [Moderator of RU.ANTI-ECOLOGY][FreeBSD][http://antigreen.org][LJ:/nuclight]