From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Williams Date: Tue, 10 Dec 2002 17:43:21 +0000 Subject: Re: pci.agent remove 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 eoa@cs.hmc.edu said: > After poking at some of the neighboring files, I added a remove case > to the action section, and I thought I'd give it to you guys in case > it proved useful to anyone. Wouldn't it be better to support remove via the REMOVER interface, as is done for USB? The remover spares the system a lookup by allowing the add to bind a script to the device when it is added. Much faster. See etc/hotplug/usb.agent, and look in the comments for the REMOVER variable, and the remove) action in the case statement. -- Steve Williams "The woods are lovely, dark and deep. steve at icarus.com But I have promises to keep, steve at picturel.com and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep." ------------------------------------------------------- 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