summaryrefslogtreecommitdiffstats
path: root/fdi/30-ifuse.fdi
diff options
context:
space:
mode:
authorGravatar Matt Colyer2009-03-26 09:18:31 -0700
committerGravatar Matt Colyer2009-03-26 09:18:31 -0700
commit1496822b6be9857a16e8e7135c42927b8b348e0c (patch)
treea48a1c974f3f8d86b2c22529ea5cbe6f6e8fb2a0 /fdi/30-ifuse.fdi
parent910f6639b54f46ee62dc0038401b1949944c00b6 (diff)
downloadifuse-1496822b6be9857a16e8e7135c42927b8b348e0c.tar.gz
ifuse-1496822b6be9857a16e8e7135c42927b8b348e0c.tar.bz2
Make automounting actually work. [#3 state:resolved]
Diffstat (limited to 'fdi/30-ifuse.fdi')
-rw-r--r--fdi/30-ifuse.fdi41
1 files changed, 41 insertions, 0 deletions
diff --git a/fdi/30-ifuse.fdi b/fdi/30-ifuse.fdi
new file mode 100644
index 0000000..a801720
--- /dev/null
+++ b/fdi/30-ifuse.fdi
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+<deviceinfo version="0.2">
+ <device>
+ <match key="info.subsystem" string="usb_device">
+ <match key="usb_device.vendor_id" int="0x5ac">
+ <match key="usb_device.product_id" compare_ge="0x1290">
+ <match key="usb_device.product_id" compare_le="0x1293">
+ <append key="info.capabilities" type="strlist">block</append>
+ <append key="info.capabilities" type="strlist">storage</append>
+ <merge key="storage.hotpluggable" type="bool">false</merge>
+ <merge key="storage.removable" type="bool">true</merge>
+ <merge key="storage.automount_enabled_hint" type="bool">true</merge>
+ <merge key="storage.model" type="string">iPhone</merge>
+ <merge key="storage.vendor" type="string">Apple Computer, Inc.</merge>
+ <merge key="storage.orginating_device" type="copy_property">/org/freedesktop/Hal/devices/computer</merge>
+ <append key="block.device" type="copy_property">@info.udi:linux.device_file</append>
+ <merge key="block.storage_device" type="copy_property">@info.parent:info.udi</merge>
+ </match>
+ </match>
+ </match>
+ </match>
+ <match key="info.subsystem" string="usb">
+ <match key="usb.vendor_id" int="0x5ac">
+ <match key="usb.product_id" compare_ge="0x1290">
+ <match key="usb.product_id" compare_le="0x1293">
+ <match key="usb.interface.number" int="0x1">
+ <append key="info.capabilities" type="strlist">block</append>
+ <append key="info.capabilities" type="strlist">volume</append>
+ <append key="block.device" type="copy_property">@info.parent:linux.device_file</append>
+ <merge key="block.storage_device" type="copy_property">@info.parent:info.udi</merge>
+ <append key="volume.fstype" type="string">fuse.ifuse</append>
+ <append key="volume.fsusage" type="string">filesystem</append>
+ <append key="volume.label" type="string">iPhone</append>
+ <append key="volume.uuid" type="string"></append>
+ </match>
+ </match>
+ </match>
+ </match>
+ </match>
+ </device>
+</deviceinfo>