Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 24 Sep 2002 20:05:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 24 Sep 2002 20:05:45 -0400 Received: from dhcp101-dsl-usw4.w-link.net ([208.161.125.101]:2511 "EHLO grok.yi.org") by vger.kernel.org with ESMTP id ; Tue, 24 Sep 2002 20:05:44 -0400 Message-ID: <3D90FED3.5060705@candelatech.com> Date: Tue, 24 Sep 2002 17:09:55 -0700 From: Ben Greear Organization: Candela Technologies User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020722 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tim Hockin CC: Jeff Garzik , Brad Hards , Chris Friesen , Rusty Russell , linux-kernel mailing list , Alan Cox , cgl_discussion mailing list , evlog mailing list , "ipslinux (Keith Mitchell)" , Linus Torvalds , Hien Nguyen , James Keniston , Mike Sullivan Subject: Re: alternate event logging proposal References: <20020924073051.363D92C1A7@lists.samba.org> <3D90C4FE.3070909@pobox.com> <3D90D0FB.1070805@sun.com> <200209250832.35068.bhards@bigpond.net.au> <3D90F5D3.4070504@pobox.com> <3D90F78E.1060405@sun.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1280 Lines: 40 Tim Hockin wrote: > a single device_event file that a daemon reads and dispatches events (I > like this one because the daemon is already written, just poorly named - > acpid) Couldn't you just have the message sent to every process that has opened the file (and have every interested process open the file and read it in a non-blocking or blocking mode?) That seems to negate the need for something like acpid, but it does not preclude it's use. > > For things like netif_carrier, poll() is probably best - the DHCP client > can be fully self contained, and not need an eventd to alert it to a > signal change. Of course, acpid does support UNIX socket connections > from apps like DHCP.... I would prefer an event, and it can still be self contained if my idea above is actually workable. Ben > > > -- Ben Greear President of Candela Technologies Inc http://www.candelatech.com ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/