From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 22 22:55:06 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 D693D106566B for ; Tue, 22 Dec 2009 22:55:06 +0000 (UTC) (envelope-from jasonspiro@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id A568D8FC12 for ; Tue, 22 Dec 2009 22:55:06 +0000 (UTC) Received: by pzk15 with SMTP id 15so4542083pzk.3 for ; Tue, 22 Dec 2009 14:55:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=DZsWRun405G8/B5zDi7i7IkXgaB9YGX7012Rvj2RMi8=; b=Un4PWu5Z56dCVYgnzJ9t9AxnpujFu2XlljIMzykeb1If93Uh8QZpWD7p8jqj7u4T8l h8zJsMbn8U8ddAkuIBc5tn5y+ye9DR9TMTAZL/q01vC6W8A7+674R2/RVvtFB2BFBnTo DfKNA3uZUGX2qZYcIA3QfLAi3neXGoThQMxh0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=qr1fN0YNz6fAJe4y82KShXeci3a8I3JyWbskm9wtVdVTx9igDzQjEK5sswaDzZCwx5 Bz9/3hKw6HkXY3zFDLxTfKOucajFMUBEPBbv8TJGhjtyXyBOJfZVYMjaFKYSwb8tnVBE UgWYgIJ4SEv0jyhyYw/TDmxWM60L/cz0rxEVQ= MIME-Version: 1.0 Sender: jasonspiro@gmail.com Received: by 10.141.1.1 with SMTP id d1mr6599568rvi.29.1261522506061; Tue, 22 Dec 2009 14:55:06 -0800 (PST) In-Reply-To: References: From: "Jason A. Spiro" Date: Tue, 22 Dec 2009 17:54:46 -0500 X-Google-Sender-Auth: f11507759c955b9c Message-ID: To: Xin LI Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org 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: Tue, 22 Dec 2009 22:55:06 -0000 Hi Xin, On Tue, Dec 22, 2009 at 5:34 PM, Xin LI wrote: > I'm afraid that it's too late to change either parties, i.e. there > would be a lot of scripts that rely on the BSD or Linux behavior, etc. That is why I suggested that you first show a warning message for five years, then do the renaming. > =A0Instead of making changes to killall which already diverge between > open source implementation and closed source ones, If you rename the open source killall to "fkill", then you will no longer have a killall command which differs between open source and closed source. > it might be better > off to have administrators to learn some more consistent ways to do > the same task, i.e. pkill. It would be good if sysadmins learned not to use killall. But I think that most sysadmins who are already used to killall are unlikely to learn not to type the command "killall" unless you rename open-source killall to a different name like "fkill". I think it's impractical to expect all sysadmins to switch to pkill. Pkill is missing the option which displays a list onscreen of which processes were killed. I sent a feature request to the maintainer, but there is no guarantee that the maintainer will add that option. And maybe there are other pkill options which are missing from skill. Cheers, -Jason