hal/doc/spec hal-spec.xml.in,1.15,1.16

Kay Sievers kay at freedesktop.org
Wed Aug 25 16:56:11 PDT 2004


Update of /cvs/hal/hal/doc/spec
In directory gabe:/tmp/cvs-serv1266/doc/spec

Modified Files:
	hal-spec.xml.in 
Log Message:
2004-08-26  Kay Sievers  <kay.sievers at vrfy.org>

        * doc/spec/hal-spec.xml.in: Add description of "volume.fsusage"

        * hald/linux/block_class_device.c:
        (set_volume_id_values): Use "volume.fsusage" instead of "is_filesystem"
        and "is_part_of_raid"
        (detect_media), (block_class_pre_process): Set missing defaults and
        remove "is_filesystem"

        * hald/linux/volume_id/volume_id.c: (probe_linux_raid),
        (probe_msdos_part_table), (probe_ext), (probe_reiserfs),
        (probe_xfs), (probe_jfs), (probe_vfat), (probe_udf),
        (probe_iso9660), (probe_ufs), (probe_mac_partition_map),
        (probe_hfs_hfsplus), (probe_ntfs), (probe_swap): Switch naming
        form "format" and "type" to "type" and "usage" to match the
        names we use in HAL now. 

        * tools/fstab-sync.c: (udi_is_volume_or_nonpartition_drive):
        Switch from "is_filesystem" to "volume.fsusage" to determine
        if the volume is mountable



Index: hal-spec.xml.in
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-spec.xml.in,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- hal-spec.xml.in	19 Aug 2004 17:58:15 -0000	1.15
+++ hal-spec.xml.in	25 Aug 2004 23:56:09 -0000	1.16
@@ -1599,14 +1599,42 @@
               <entry>A fully qualified path to the mount point of the volume</entry>
             </row>
             <row>
-              <entry><literal>volume.is_filesystem</literal> (bool)</entry>
-              <entry></entry>
+              <entry><literal>volume.fsusage</literal> (string)</entry>
+              <entry>example: filesystem</entry>
               <entry>Yes</entry>
               <entry>
-		This property is TRUE if the volume indeed contains a mountable
-		filesystem. If it's FALSE the volume contain other data such
-		as swap or partition maps.
-	      </entry>
+                This property specifies the expected usage of the volume
+              </entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>filesystem</entry>
+              <entry></entry>
+              <entry>The volume is a mountable filesystem</entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>partitiontable</entry>
+              <entry></entry>
+              <entry>The volume conatains a partitiontable</entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>raid</entry>
+              <entry></entry>
+              <entry>The volume is a member of a raid set and not mountable</entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>other</entry>
+              <entry></entry>
+              <entry>The volume is not mountable like a swap partition</entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>unused</entry>
+              <entry></entry>
+              <entry>The volume is marked a unused or free</entry>
             </row>
             <row>
               <entry><literal>volume.fstype</literal> (string)</entry>




More information about the hal-commit mailing list