From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary_Lerhaupt@Dell.com Date: Fri, 13 Sep 2002 14:41:12 +0000 Subject: RE: Did you try devlabel 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 I haven't written the scsi hotplug patch but it should be trivial. On all storage hotplugs, at the very bottom of the add & remove calls, there should be: if [ -x /sbin/devlabel ]; then devlabel restart fi If you can think of a less intrusive method to get this kicked off on all add/remove events, I am game. gary -----Original Message----- From: Greg KH [mailto:greg@kroah.com] Sent: Friday, September 13, 2002 12:50 AM To: Gary_Lerhaupt@exchange.dell.com Cc: Linux-hotplug-devel@lists.sourceforge.net Subject: Re: Did you try devlabel Ah, that's very handy, I know lots of people that have been wanting that for some time. Does this also trigger on the SCSI disk add that I think /sbin/hotplug gets called on in 2.5? Yes, the UUIDs should soon be exported through driverfs, and that will help you out a lot. I think there are some SCSI developers working on this right now. Hm, as you are really only needing a hook into the existing hotplug scripts to run your program, isn't there some generic way of doing this already without needing a patch? 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