From mboxrd@z Thu Jan 1 00:00:00 1970 From: ming deng Date: Tue, 09 Jul 2002 15:07:45 +0000 Subject: Re: How to hot unplug? 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 David Brownell wrote: > ming deng wrote: > >> When a USB device is detached, I want to do something to clear up, >> like unmount the directory for USB Mass Storage devices. Is there any >> function in hotplug supporting that? > > > You get a notification that the device was removed, > but so far nothing uses it. Feel free to develop > appropriate patches. In the case of unmounting, > I'd look at the issues for mounting devices first. > (My expectation is that the 2.5 driverfs and disk > model unification work will make that workable.) > thanks. And I found out $REMOVER works. But can someone tell me the rationale behind using $REMOVER instead of using "remove"? cheers, Ming ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Stuff, things, and much much more. 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