rpms/hdapsd/F-12 99-hdapsd.rules, 1.2, 1.3 hdapsd.event, 1.2, 1.3 hdapsd.spec, 1.2, 1.3

Tomasz Torcz ttorcz at fedoraproject.org
Sat Apr 17 15:39:10 UTC 2010


Author: ttorcz

Update of /cvs/pkgs/rpms/hdapsd/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv31018

Modified Files:
	99-hdapsd.rules hdapsd.event hdapsd.spec 
Log Message:
* Sat Apr 17 2010 Tomasz Torcz <ttorcz at fedoraproject.org> 20090401-5.1
- rename upstart event and limit it to no-removable devices in order to fix #550887



Index: 99-hdapsd.rules
===================================================================
RCS file: /cvs/pkgs/rpms/hdapsd/F-12/99-hdapsd.rules,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- 99-hdapsd.rules	20 Feb 2010 17:09:23 -0000	1.2
+++ 99-hdapsd.rules	17 Apr 2010 15:39:09 -0000	1.3
@@ -1,2 +1,2 @@
 # emit event for each block device added
-ACTION=="add",    SUBSYSTEM=="block", KERNEL=="*[!0-9]", RUN="/sbin/initctl emit block-device-added %k -eDEVNAME"
+ACTION=="add", SUBSYSTEM=="block", KERNEL=="*[!0-9]", ATTRS{removable}=="0", RUN="/sbin/initctl emit hdapsd-block-device-added %k -eDEVNAME"


Index: hdapsd.event
===================================================================
RCS file: /cvs/pkgs/rpms/hdapsd/F-12/hdapsd.event,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- hdapsd.event	20 Feb 2010 17:09:23 -0000	1.2
+++ hdapsd.event	17 Apr 2010 15:39:10 -0000	1.3
@@ -1,7 +1,7 @@
 # hdapsd starting script
 # laptops seldom have >2 HDD, so we care only about first two
 
-start on block-device-added sd[ab]
+start on hdapsd-block-device-added sd[ab]
 instance
 nice -5
 


Index: hdapsd.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hdapsd/F-12/hdapsd.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- hdapsd.spec	20 Feb 2010 17:09:23 -0000	1.2
+++ hdapsd.spec	17 Apr 2010 15:39:10 -0000	1.3
@@ -1,6 +1,6 @@
 Name:		hdapsd	
 Version:	20090401
-Release:	5%{?dist}
+Release:	5%{?dist}.1
 Summary:	Protects hard drives by parking head when fall is detected
 
 Group:		Applications/System
@@ -59,6 +59,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sat Apr 17 2010 Tomasz Torcz <ttorcz at fedoraproject.org> 20090401-5.1
+- rename upstart event and limit it to no-removable devices in order to fix #550887
+
 * Sat Feb 20 2010 Tomasz Torcz <ttorcz at fedoraproject.org> 20090401-5
 - take into account new location of "emitctl" in udev rule
 - tweak upstart job def to actually start hdapsd;



More information about the scm-commits mailing list