hal/doc/spec hal-spec.html,1.23,1.24 hal-spec.xml.in,1.21,1.22
David Zeuthen
david at freedesktop.org
Sun Sep 19 18:25:56 PDT 2004
Update of /cvs/hal/hal/doc/spec
In directory gabe:/tmp/cvs-serv16200/doc/spec
Modified Files:
hal-spec.html hal-spec.xml.in
Log Message:
2004-09-20 David Zeuthen <david at fubar.dk>
* doc/spec/hal-spec.xml.in: Add docs for volume.is_partition,
volume.partition.number and volume.partition.x86_type
* hald/linux/block_class_device.c:
(set_volume_id_values): Add some more debug
(detect_media): Set volume.is_partition to FALSE
(block_class_pre_process): Set the new volume.is_partition,
volume.partition.number and volume.partition.x86_type properties
* hald/linux/volume_id/volume_id.c (probe_msdos_part_table): Set
partition_number and partition_msdosparttable_type
* hald/linux/volume_id/volume_id.h: Add partition_number and
partition_msdosparttable_type members
Index: hal-spec.html
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-spec.html,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- hal-spec.html 19 Sep 2004 16:49:15 -0000 1.23
+++ hal-spec.html 20 Sep 2004 01:25:54 -0000 1.24
@@ -400,21 +400,21 @@
><DL
><DT
><A
-HREF="#AEN1825"
+HREF="#AEN1846"
>Interface org.freedesktop.Hal.Manager</A
></DT
><DD
><DL
><DT
><A
-HREF="#AEN1836"
+HREF="#AEN1857"
>Example</A
></DT
></DL
></DD
><DT
><A
-HREF="#AEN1844"
+HREF="#AEN1865"
>Interface org.freedesktop.Hal.Device</A
></DT
></DL
@@ -3554,6 +3554,62 @@
> Number of blocks on the volume
</TD
></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>volume.is_partition</TT
+> (bool)</TD
+><TD
+> </TD
+><TD
+>Yes</TD
+><TD
+> If the volume stems from a partition on e.g. a hard
+ disk, this property is set to <TT
+CLASS="literal"
+>TRUE</TT
+>.
+ </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>volume.partition.number</TT
+> (int)</TD
+><TD
+> </TD
+><TD
+> If, and only if, <TT
+CLASS="literal"
+>volume.is_partition</TT
+>
+ is set to <TT
+CLASS="literal"
+>TRUE</TT
+>.
+ </TD
+><TD
+> The number of the partition.
+ </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>volume.partition.x86_type</TT
+> (int)</TD
+><TD
+>examples: 0x83, 0xfd, 0x8e</TD
+><TD
+> No
+ </TD
+><TD
+> If available, this is the partition type if the disk for which
+ this volume stems from is using an MS-DOS-style partition table.
+ </TD
+></TR
></TBODY
></TABLE
><P
@@ -3568,7 +3624,7 @@
><P
></P
><A
-NAME="AEN1017"
+NAME="AEN1038"
></A
><TABLE
BORDER="1"
@@ -3706,7 +3762,7 @@
><P
></P
><A
-NAME="AEN1060"
+NAME="AEN1081"
></A
><TABLE
BORDER="1"
@@ -3817,7 +3873,7 @@
><P
></P
><A
-NAME="AEN1096"
+NAME="AEN1117"
></A
><TABLE
BORDER="1"
@@ -4079,7 +4135,7 @@
><P
></P
><A
-NAME="AEN1203"
+NAME="AEN1224"
></A
><TABLE
BORDER="1"
@@ -4498,7 +4554,7 @@
><P
></P
><A
-NAME="AEN1372"
+NAME="AEN1393"
></A
><TABLE
BORDER="1"
@@ -4697,7 +4753,7 @@
><P
></P
><A
-NAME="AEN1452"
+NAME="AEN1473"
></A
><TABLE
BORDER="1"
@@ -4851,7 +4907,7 @@
><P
></P
><A
-NAME="AEN1510"
+NAME="AEN1531"
></A
><TABLE
BORDER="1"
@@ -4982,7 +5038,7 @@
><P
></P
><A
-NAME="AEN1552"
+NAME="AEN1573"
></A
><TABLE
BORDER="1"
@@ -5055,7 +5111,7 @@
><P
></P
><A
-NAME="AEN1574"
+NAME="AEN1595"
></A
><TABLE
BORDER="1"
@@ -5122,7 +5178,7 @@
><P
></P
><A
-NAME="AEN1594"
+NAME="AEN1615"
></A
><TABLE
BORDER="1"
@@ -5187,7 +5243,7 @@
><P
></P
><A
-NAME="AEN1614"
+NAME="AEN1635"
></A
><TABLE
BORDER="1"
@@ -5314,7 +5370,7 @@
><P
></P
><A
-NAME="AEN1658"
+NAME="AEN1679"
></A
><TABLE
BORDER="1"
@@ -5461,7 +5517,7 @@
><P
></P
><A
-NAME="AEN1706"
+NAME="AEN1727"
></A
><TABLE
BORDER="1"
@@ -5815,7 +5871,7 @@
><P
></P
><A
-NAME="AEN1783"
+NAME="AEN1804"
></A
><TABLE
BORDER="1"
@@ -5975,7 +6031,7 @@
><HR><H2
CLASS="sect1"
><A
-NAME="AEN1825"
+NAME="AEN1846"
>Interface org.freedesktop.Hal.Manager</A
></H2
><P
@@ -6091,7 +6147,7 @@
><HR><H3
CLASS="sect2"
><A
-NAME="AEN1836"
+NAME="AEN1857"
>Example</A
></H3
><P
@@ -6209,7 +6265,7 @@
><HR><H2
CLASS="sect1"
><A
-NAME="AEN1844"
+NAME="AEN1865"
>Interface org.freedesktop.Hal.Device</A
></H2
><P
Index: hal-spec.xml.in
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-spec.xml.in,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- hal-spec.xml.in 19 Sep 2004 16:49:15 -0000 1.21
+++ hal-spec.xml.in 20 Sep 2004 01:25:54 -0000 1.22
@@ -1692,7 +1692,6 @@
The block size of the volume
</entry>
</row>
-
<row>
<entry><literal>volume.num_blocks</literal> (string)</entry>
<entry></entry>
@@ -1702,6 +1701,38 @@
</entry>
</row>
+ <row>
+ <entry><literal>volume.is_partition</literal> (bool)</entry>
+ <entry></entry>
+ <entry>Yes</entry>
+ <entry>
+ If the volume stems from a partition on e.g. a hard
+ disk, this property is set to <literal>TRUE</literal>.
+ </entry>
+ </row>
+ <row>
+ <entry><literal>volume.partition.number</literal> (int)</entry>
+ <entry></entry>
+ <entry>
+ If, and only if, <literal>volume.is_partition</literal>
+ is set to <literal>TRUE</literal>.
+ </entry>
+ <entry>
+ The number of the partition.
+ </entry>
+ </row>
+ <row>
+ <entry><literal>volume.partition.x86_type</literal> (int)</entry>
+ <entry>examples: 0x83, 0xfd, 0x8e</entry>
+ <entry>
+ No
+ </entry>
+ <entry>
+ If available, this is the partition type if the disk for which
+ this volume stems from is using an MS-DOS-style partition table.
+ </entry>
+ </row>
+
</tbody>
More information about the hal-commit
mailing list