From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Williams Date: Fri, 08 Jun 2001 19:05:07 +0000 Subject: Modification to install in support of usb remover MIME-Version: 1 Content-Type: multipart/mixed; boundary="==_Exmh_177427047350" Message-Id: List-Id: To: linux-hotplug@vger.kernel.org This is a multipart MIME message. --==_Exmh_177427047350 Content-Type: text/plain; charset=us-ascii Here are diffs to the hotplug.spec file that creates the /var/run/usb directory (with correct permissions) at install time. This should finish up the usb remover support. I've updated the README to include mention of the /var/run/usb directory, and I've included in the spec file the steps to make the directory. I've only bumped the spec release number because this is harmless to the named release. I've included the diffs. I can do the commit myself, but I just want to check first that this is OK with the existing cadre. -- Steve Williams "The woods are lovely, dark and deep. steve@icarus.com But I have promises to keep, steve@picturel.com and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep." --==_Exmh_177427047350 Content-Type: text/plain ; name="foo"; charset=us-ascii Content-Description: foo Content-Disposition: attachment; filename="foo" Index: README =================================================================== RCS file: /cvsroot/linux-hotplug/admin/README,v retrieving revision 1.5 diff -u -r1.5 README --- README 2001/04/19 22:32:24 1.5 +++ README 2001/06/08 19:02:08 @@ -61,8 +61,13 @@ # mkdir -p /etc/hotplug # cp -r etc/hotplug/* /etc/hotplug - - (4) Make your system start hotplugging (and maybe coldplugging, + + (4) Make the directory in /var/run for use remove support: + + # mkdir -p /var/run/usb + # chmod 600 /var/run/usb + + (5) Make your system start hotplugging (and maybe coldplugging, if you installed the right usb and pci utilities) after it's booted and filesystems are mounted. On RedHat systems: Index: hotplug.spec =================================================================== RCS file: /cvsroot/linux-hotplug/admin/hotplug.spec,v retrieving revision 1.10 diff -u -r1.10 hotplug.spec --- hotplug.spec 2001/04/24 18:21:26 1.10 +++ hotplug.spec 2001/06/08 19:02:08 @@ -1,7 +1,7 @@ Summary: Linux Hotplug Scripts Name: hotplug Version: 2001_04_24 -Release: 1 +Release: 2 Group: Applications/System License: GPL Url: http://linux-hotplug.sourceforge.net/ @@ -24,6 +24,7 @@ mkdir -p ${RPM_BUILD_ROOT}/sbin mkdir -p ${RPM_BUILD_ROOT}/etc/hotplug mkdir -p ${RPM_BUILD_ROOT}/etc/rc.d/init.d +mkdir -p ${RPM_BUILD_ROOT}/var/run/usb mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8 # install the main hotplug script @@ -39,6 +40,8 @@ cp -a *.8 ${RPM_BUILD_ROOT}%{_mandir}/man8 %files +%attr(0600,root,root) %dir /var/run/usb + %defattr(-,root,root) /sbin/* /etc/rc.d/init.d/* @@ -64,6 +67,9 @@ %changelog +* Fri Jun 8 2001 Steve Williams +- added the /var/run/usb directory to spec file + * Tue Apr 24 2001 Greg Kroah-Hartman - added the hotplug.8 manpage written by Fumitoshi UKAI --==_Exmh_177427047350-- _______________________________________________ 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