Subject: Re: CVS commit: src/usr.sbin/rtsold
To: Jun-ichiro itojun Hagino <itojun@itojun.org>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: source-changes
Date: 01/03/2004 20:34:36
On Saturday 03 January 2004 20:23, Jun-ichiro itojun Hagino wrote:
>
> 	there's other reasons i dislike pidfiles.  they are not properly
> 	locked on creation, /var/run needs to be writable, no consideration
> 	to multiple daemons, no consistency guarantee between actual process
> 	table, and more.

Agreed.

>       if anything, a script that searches and kills
> 	"rtsold" would be much better.  or, we could extend kill(1) to take
> 	string as an argument and kill process under given name.

pkill(1) ?

     The pkill command searches the process table on the running system and
     signals all processes that match the criteria given on the command line.

-- 
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/