hal/fdi/policy/10osvendor 20-storage-methods.fdi, NONE, 1.1 Makefile.am, 1.5, 1.6

Kay Sievers kay at freedesktop.org
Thu Dec 8 21:50:57 PST 2005


Update of /cvs/hal/hal/fdi/policy/10osvendor
In directory gabe:/tmp/cvs-serv30249/fdi/policy/10osvendor

Modified Files:
	Makefile.am 
Added Files:
	20-storage-methods.fdi 
Log Message:
2005-12-09  Kay Sievers  <kay.sievers at vrfy.org>

        Add methods to storage objects to request:
          Mount(string:mountpointname string:fstype stringlist:mountoptions)
          Unmount()
          Eject()

        * fdi/policy/10osvendor/Makefile.am:
        * fdi/policy/10osvendor/20-storage-methods.fdi:
        * tools/Makefile.am:
        * tools/hal-system-storage-eject:
        * tools/hal-system-storage-mount:
        * tools/hal-system-storage-unmount:



--- NEW FILE: 20-storage-methods.fdi ---
<?xml version="1.0" encoding="UTF-8"?>

<deviceinfo version="0.2">
  <device>
    <match key="volume.fsusage" string="filesystem">
      <append key="info.interfaces" type="strlist">org.freedesktop.Hal.Device.Volume</append>

      <append key="org.freedesktop.Hal.Device.Volume.method_names" type="strlist">Mount</append>
      <append key="org.freedesktop.Hal.Device.Volume.method_signatures" type="strlist">ssas</append>
      <append key="org.freedesktop.Hal.Device.Volume.method_execpaths" type="strlist">hal-system-storage-mount</append>

      <append key="org.freedesktop.Hal.Device.Volume.method_names" type="strlist">Unmount</append>
      <append key="org.freedesktop.Hal.Device.Volume.method_signatures" type="strlist"></append>
      <append key="org.freedesktop.Hal.Device.Volume.method_execpaths" type="strlist">hal-system-storage-unmount</append>

      <append key="org.freedesktop.Hal.Device.Volume.method_names" type="strlist">Eject</append>
      <append key="org.freedesktop.Hal.Device.Volume.method_signatures" type="strlist"></append>
      <append key="org.freedesktop.Hal.Device.Volume.method_execpaths" type="strlist">hal-system-storage-eject</append>
    </match>
  </device>
</deviceinfo>

Index: Makefile.am
===================================================================
RCS file: /cvs/hal/hal/fdi/policy/10osvendor/Makefile.am,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Makefile.am	3 Sep 2005 15:55:11 -0000	1.5
+++ Makefile.am	9 Dec 2005 05:50:54 -0000	1.6
@@ -5,7 +5,8 @@
 	10-storage-policy.fdi		\
 	10-power-mgmt-policy.fdi	\
 	10-laptop-panel-mgmt-policy.fdi	\
-	15-storage-luks.fdi
+	15-storage-luks.fdi		\
+	20-storage-methods.fdi
 
 if HAVE_SELINUX
 dist_fdi_DATA += 20-storage-add-selinux.fdi




More information about the hal-commit mailing list