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