From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263928AbTDNVib (for ); Mon, 14 Apr 2003 17:38:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263938AbTDNVib (for ); Mon, 14 Apr 2003 17:38:31 -0400 Received: from e4.ny.us.ibm.com ([32.97.182.104]:49288 "EHLO e4.ny.us.ibm.com") by vger.kernel.org with ESMTP id S263928AbTDNViX (for ); Mon, 14 Apr 2003 17:38:23 -0400 Date: Mon, 14 Apr 2003 14:52:21 -0700 From: Greg KH To: oliver@neukum.name Cc: linux-hotplug-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [RFC] /sbin/hotplug multiplexor Message-ID: <20030414215221.GA5989@kroah.com> References: <20030414190032.GA4459@kroah.com> <200304142311.01245.oliver@neukum.org> <20030414213054.GA5700@kroah.com> <200304142343.17802.oliver@neukum.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200304142343.17802.oliver@neukum.org> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 14, 2003 at 11:43:17PM +0200, Oliver Neukum wrote: > > > > Well, for a little elegance you might introduce subdirectories for each > > > type of hotplug event and use only them. > > > > No, that's for the individual scripts/programs to decide. For example, > > that's what the current hotplug scripts do, but that's not at all what > > the udev program wants to do. > > So have them put a symlink into each subdirectory. This is the way it's > done for init since times immemorial. But the number of different "types" keeps growing. For some programs (like udev) they really don't care about the type, and if you add a new type, it still works just fine. Other programs do care about the type, so they can look at it and make a judgement based on it. thanks, greg k-h