From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Mon, 03 Oct 2005 16:22:12 +0000 Subject: Re: [RFC] coldplug - emit hotplug events from sysfs Message-Id: <20051003162212.GA9441@kroah.com> List-Id: References: <20051001124943.GA26076@vrfy.org> In-Reply-To: <20051001124943.GA26076@vrfy.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, Oct 03, 2005 at 08:58:18AM -0700, David Brownell wrote: > > This patch adds a "uevent" file to all class/block/bus-devices. Writing to > > this file, will just emit the hotplug event from the kernel again. udevstart > > and all the coldplug logic can be 3 lines of shell-script now. Boots fine > > and is _very_ fast on my box. > > > > What do you think? > > It only issues the "add" event, but otherwise the idea is intriguing. There's no way to re-issue the "remove" event, as the object is already gone :) > For paranoia's sake, it might be good to flag these events as being > replays/fakes. How? And why? The sequence number will be different from the original, if you really want to pay attention to that. thanks, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ 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