From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Date: Tue, 16 Jan 2001 17:30:36 +0000 Subject: Re: RPMs for hotplug scripts 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 was working on a bunch of other rpm spec files today so thought I > would knock out one for the hotplug scripts. Great -- thanks! > Attached is a noarch package, a src.rpm package, a spec file, and a > small patch that I made to the usb.rc startup script (to allow it to be > inserted using the chkconfig utility). I based this on the Jan 13, > 2001 tarball that David made available. > > Could people check this over to see if I messed anything up? > > David, do you want to check the hotplug.spec file into cvs, or do you > want me to? Does the patch look ok (with the exception of my horrible > english, bleah, what a bad cut and paste job...) I think I'll take this opportunity to move the scripts into CVS at the linux-usb project, along with spec file. Toplevel "admin" directory seem OK? That'll involve tweaking file locations a bit in the "source" distribution (hence spec file), I suspect. > I built and kinda tested this on a RedHat 6.2, Immunix 6.2, RedHat 7.0, > and Immunix 7.0 distros. I don't know if the startup script will work > with other distros, or if it will even play nice with RedHat (they start > up USB before the rc scripts get called.) I think what we need is a generic "hotplug startup" script, not one that's USB-specific. That'd be the slot into which other things will fit ... like synthesizing hotplug events that were missed before filesystems were mounted. Presumably it'll behave on Mandrake too (Chmouel can verify :-) and that's likely as good as we can get for the moment. > Hope this helps some people out. Yep! - Dave > greg k-h > _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel