From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 7 20:19:55 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C842D10656A3 for ; Sat, 7 Nov 2009 20:19:55 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (relay02.stack.nl [IPv6:2001:610:1108:5010::104]) by mx1.freebsd.org (Postfix) with ESMTP id 8E9298FC19 for ; Sat, 7 Nov 2009 20:19:55 +0000 (UTC) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx1.stack.nl (Postfix) with ESMTP id A3ED335A836; Sat, 7 Nov 2009 21:19:54 +0100 (CET) Received: by snail.stack.nl (Postfix, from userid 1677) id 93919228C0; Sat, 7 Nov 2009 21:19:54 +0100 (CET) Date: Sat, 7 Nov 2009 21:19:54 +0100 From: Jilles Tjoelker To: Kostik Belousov Message-ID: <20091107201954.GA84099@stack.nl> References: <20091106222446.GB60707@stack.nl> <20091107112832.24b0c0d4@ernst.jennejohn.org> <20091107130136.GI2331@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091107130136.GI2331@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-hackers@freebsd.org Subject: Re: [patch] add pwait utility X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2009 20:19:55 -0000 On Sat, Nov 07, 2009 at 03:01:36PM +0200, Kostik Belousov wrote: > On Sat, Nov 07, 2009 at 11:28:32AM +0100, Gary Jennejohn wrote: > > On Fri, 6 Nov 2009 23:24:46 +0100 > > Jilles Tjoelker wrote: > > > I propose adding a small new utility to /usr/bin: pwait. Similar to the > > > Solaris utility of the same name, it waits for any process to terminate. > > Why not /bin so it can be used before /usr is mounted? > And it seems to make sense to add this functionality to pkill/pgrep > binary, creating another hardlink to it. Hmm, pwait's syntax is incompatible: it takes pids (pkill says: use kill) and the -v option does something totally different. -- Jilles Tjoelker