hal/fdi/20freedesktop ide-drives.fdi,1.1.2.4,1.1.2.5

David Zeuthen david at freedesktop.org
Fri Jan 7 11:26:47 PST 2005


Update of /cvs/hal/hal/fdi/20freedesktop
In directory gabe:/tmp/cvs-serv16162/fdi/20freedesktop

Modified Files:
      Tag: hal-0_4-stable-branch
	ide-drives.fdi 
Log Message:
2005-01-07  David Zeuthen  <davidz at redhat.com>

	* fdi/20freedesktop/ide-drives.fdi: Also check IDE floppies for whether
	they are Zip drives



Index: ide-drives.fdi
===================================================================
RCS file: /cvs/hal/hal/fdi/20freedesktop/ide-drives.fdi,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -d -r1.1.2.4 -r1.1.2.5
--- ide-drives.fdi	31 Dec 2004 12:01:52 -0000	1.1.2.4
+++ ide-drives.fdi	7 Jan 2005 19:26:45 -0000	1.1.2.5
@@ -48,6 +48,37 @@
 	</match>
       </match>
     </match>
+
+    <match key="storage.bus" string="ide">
+      <match key="storage.drive_type" string="floppy">
+	<!-- IOMEGA Zip Drive -->
+	<match key="storage.model" contains_ncase="ZIP">
+          <merge key="storage.drive_type" type="string">zip</merge>
+          <merge key="storage.no_partitions_hint" type="bool">true</merge>
+          <merge key="storage.requires_eject" type="bool">true</merge>
+          <!-- treat as floppy and data at partition 4; adjust device file -->
+	  <append key="block.device" type="string">4</append>
+	</match>
+	
+	<!-- IOMEGA CLIK! Drive -->
+	<match key="storage.model" contains_ncase="CLIK">
+          <merge key="storage.drive_type" type="string">zip</merge>
+          <merge key="storage.no_partitions_hint" type="bool">true</merge>
+          <merge key="storage.requires_eject" type="bool">true</merge>
+          <!-- treat as floppy and data at partition 4; adjust device file -->
+	  <append key="block.device" type="string">4</append>
+	</match>
+	
+	<!-- Jaz -->
+	<match key="storage.model" contains_ncase="JAZ">
+          <merge key="storage.drive_type" type="string">jaz</merge>
+          <merge key="storage.no_partitions_hint" type="bool">true</merge>
+          <merge key="storage.requires_eject" type="bool">true</merge>
+          <!-- treat as floppy and data at partition 4; adjust device file -->
+	  <append key="block.device" type="string">4</append>
+	</match>
+      </match>
+    </match>
       
     </device>
 </deviceinfo>




More information about the hal-commit mailing list