From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Mon, 10 Sep 2007 07:13:15 +0000 Subject: Re: Regarding to CPU hotplug Message-Id: <20070910071315.GA5367@kroah.com> 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, Sep 10, 2007 at 10:49:52AM +0530, Omprakash Vishnoi wrote: > > Hi All, > I read the doc. Linux Symposium "Udev-A userspace implementation of > devfs",there i understood,i have to make rulefile in "/etc/udev/rule.d/" > for CPU hotplug,but how can i know which CPU getting add or > removed.Acctually as in my project,we want notification for CPU's > getting remove or add at user level. > > pls tell me what procedure i have to follow,And how can i know which > CPU getting remove or add. I think you can just listen for the dbus events coming from HAL that show the cpus going up and down. Have you tried looking at the events that happen when you do this to the machine? thanks, greg k-h ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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