From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Mon, 14 Apr 2003 21:52:21 +0000 Subject: Re: [RFC] /sbin/hotplug multiplexor Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@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 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel