From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 23 00:21:46 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 6D7651065672 for ; Wed, 23 Dec 2009 00:21:46 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id EB31D8FC12 for ; Wed, 23 Dec 2009 00:21:45 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NNEz1-0006xk-Vq for freebsd-hackers@freebsd.org; Wed, 23 Dec 2009 01:21:44 +0100 Received: from CPE00134609fbfb-CM0013718690da.cpe.net.cable.rogers.com ([99.226.150.73]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Dec 2009 01:21:43 +0100 Received: from jasonspiro4 by CPE00134609fbfb-CM0013718690da.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Dec 2009 01:21:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hackers@freebsd.org From: Jason Spiro Date: Wed, 23 Dec 2009 00:21:20 +0000 (UTC) Lines: 37 Message-ID: References: <4B315A5A.6040101@delphij.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 99.226.150.73 (Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.13) Gecko/2009080717 Firefox/3.0.13) Sender: news Subject: Re: Suggestion: rename "killall" to "fkill", but wait five years to phase the new name in 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: Wed, 23 Dec 2009 00:21:46 -0000 Xin LI delphij.net> writes: > killall can be used by scripts which just works in the past, and will > never notice the warnings. On what scripts will nobody notice the warnings? For example, AFAIK, cron job output is always mailed to root. The only scripts I can think of are scripts called by web applications like PHP, and I can't think of any concrete case where they would run killall. > Also, killall is not "that" dangerous on > FreeBSD, we should ONLY give warnings when it's really necessary, > otherwise users would just ignore all warnings we gave to them. > > On the other hand, it seems to us that warning messages won't work, no > matter how long we give it, it is being ignored by a majority of users. Good points. > Then users are already familiar with FreeBSD would have to learn what > "fkill" is, and after all, having them to pay for mistakes made by > commercial Unix vendors does not seem to be a fair option. As I wrote elsewhere[1] in this thread, it seems to me the commercial vendors made no mistakes here; only Linux and FreeBSD made mistakes. > Well, I'd say it's too late for us to change since it's several years > after we have 'killall' our way. I replied to this in the last paragraph of text in [1]. > pkill have '-I', at least on FreeBSD... There is no such option in pkill on Linux.[2] ^ [1]. http://thread.gmane.org/gmane.os.freebsd.devel.hackers/38308/focus=38332 ^ [2]. http://linux.die.net/man/1/pkill