hal/doc/spec hal-spec.html,1.45,1.46
David Zeuthen
david at freedesktop.org
Fri Feb 11 14:09:24 PST 2005
Update of /cvs/hal/hal/doc/spec
In directory gabe:/tmp/cvs-serv5920/doc/spec
Modified Files:
hal-spec.html
Log Message:
2005-02-11 David Zeuthen <davidz at redhat.com>
* Makefile.am (SUBDIRS): Rearrange order so volume_id and drive_id
is built before anything else.
Index: hal-spec.html
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-spec.html,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- hal-spec.html 10 Feb 2005 17:45:11 -0000 1.45
+++ hal-spec.html 11 Feb 2005 22:09:22 -0000 1.46
@@ -7804,13 +7804,21 @@
<deviceinfo version="0.2">
<device>
- <match key="info.bus" string="usb">
- <match key="usb.vendor_id" int="0x0424">
- <match key="usb.product_id" int="0x20fc">
- <merge key="storage_lun0.drive_type" type="string">compact_flash</merge>
- <merge key="storage_lun1.drive_type" type="string">memory_stick</merge>
- <merge key="storage_lun2.drive_type" type="string">smart_media</merge>
- <merge key="storage_lun3.drive_type" type="string">sd_mmc</merge>
+ <match key="storage.bus" string="usb">
+ <match key="@storage.physical_device:usb.vendor_id" int="0x0424">
+ <match key="@storage.physical_device:usb.product_id" int="0x20fc">
+ <match key="storage.lun" int="0">
+ <merge key="storage.drive_type" type="string">compact_flash</merge>
+ </match>
+ <match key="storage.lun" int="1">
+ <merge key="storage.drive_type" type="string">memory_stick</merge>
+ </match>
+ <match key="storage.lun" int="2">
+ <merge key="storage.drive_type" type="string">smart_media</merge>
+ </match>
+ <match key="storage.lun" int="3">
+ <merge key="storage.drive_type" type="string">sd_mmc</merge>
+ </match>
</match>
</match>
</match>
@@ -8144,6 +8152,7 @@
<append key="info.callouts.add" type="strlist">fstab-sync</append>
<append key="info.callouts.remove" type="strlist">fstab-sync</append>
</match>
+
<match key="storage.policy.should_mount" bool="true">
<append key="info.callouts.add" type="strlist">fstab-sync</append>
<append key="info.callouts.remove" type="strlist">fstab-sync</append>
@@ -8152,6 +8161,7 @@
<match key="storage.media_check_enabled" bool="true">
<append key="info.addons" type="strlist">hald-addon-storage</append>
</match>
+
</device>
</deviceinfo>
More information about the hal-commit
mailing list