hal/doc/spec hal-spec.html,1.24,1.25 hal-spec.xml.in,1.22,1.23
David Zeuthen
david at freedesktop.org
Mon Sep 20 02:00:17 PDT 2004
Update of /cvs/hal/hal/doc/spec
In directory gabe:/tmp/cvs-serv31560/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.size
* hald/linux/block_class_device.c (volume_set_size): Use the
BLKSIZEGET64 ioctl to get the size in bytes and populate volume.size
(block_class_pre_process): Use volume.size when doing volume_id
Index: hal-spec.html
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-spec.html,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- hal-spec.html 20 Sep 2004 01:25:54 -0000 1.24
+++ hal-spec.html 20 Sep 2004 09:00:14 -0000 1.25
@@ -400,21 +400,21 @@
><DL
><DT
><A
-HREF="#AEN1846"
+HREF="#AEN1852"
>Interface org.freedesktop.Hal.Manager</A
></DT
><DD
><DL
><DT
><A
-HREF="#AEN1857"
+HREF="#AEN1863"
>Example</A
></DT
></DL
></DD
><DT
><A
-HREF="#AEN1865"
+HREF="#AEN1871"
>Interface org.freedesktop.Hal.Device</A
></DT
></DL
@@ -3558,6 +3558,20 @@
><TD
><TT
CLASS="literal"
+>volume.size</TT
+> (uint64)</TD
+><TD
+> </TD
+><TD
+>No</TD
+><TD
+> Size of the volume in bytes
+ </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
>volume.is_partition</TT
> (bool)</TD
><TD
@@ -3624,7 +3638,7 @@
><P
></P
><A
-NAME="AEN1038"
+NAME="AEN1044"
></A
><TABLE
BORDER="1"
@@ -3762,7 +3776,7 @@
><P
></P
><A
-NAME="AEN1081"
+NAME="AEN1087"
></A
><TABLE
BORDER="1"
@@ -3873,7 +3887,7 @@
><P
></P
><A
-NAME="AEN1117"
+NAME="AEN1123"
></A
><TABLE
BORDER="1"
@@ -4135,7 +4149,7 @@
><P
></P
><A
-NAME="AEN1224"
+NAME="AEN1230"
></A
><TABLE
BORDER="1"
@@ -4554,7 +4568,7 @@
><P
></P
><A
-NAME="AEN1393"
+NAME="AEN1399"
></A
><TABLE
BORDER="1"
@@ -4753,7 +4767,7 @@
><P
></P
><A
-NAME="AEN1473"
+NAME="AEN1479"
></A
><TABLE
BORDER="1"
@@ -4907,7 +4921,7 @@
><P
></P
><A
-NAME="AEN1531"
+NAME="AEN1537"
></A
><TABLE
BORDER="1"
@@ -5038,7 +5052,7 @@
><P
></P
><A
-NAME="AEN1573"
+NAME="AEN1579"
></A
><TABLE
BORDER="1"
@@ -5111,7 +5125,7 @@
><P
></P
><A
-NAME="AEN1595"
+NAME="AEN1601"
></A
><TABLE
BORDER="1"
@@ -5178,7 +5192,7 @@
><P
></P
><A
-NAME="AEN1615"
+NAME="AEN1621"
></A
><TABLE
BORDER="1"
@@ -5243,7 +5257,7 @@
><P
></P
><A
-NAME="AEN1635"
+NAME="AEN1641"
></A
><TABLE
BORDER="1"
@@ -5370,7 +5384,7 @@
><P
></P
><A
-NAME="AEN1679"
+NAME="AEN1685"
></A
><TABLE
BORDER="1"
@@ -5517,7 +5531,7 @@
><P
></P
><A
-NAME="AEN1727"
+NAME="AEN1733"
></A
><TABLE
BORDER="1"
@@ -5871,7 +5885,7 @@
><P
></P
><A
-NAME="AEN1804"
+NAME="AEN1810"
></A
><TABLE
BORDER="1"
@@ -6031,7 +6045,7 @@
><HR><H2
CLASS="sect1"
><A
-NAME="AEN1846"
+NAME="AEN1852"
>Interface org.freedesktop.Hal.Manager</A
></H2
><P
@@ -6147,7 +6161,7 @@
><HR><H3
CLASS="sect2"
><A
-NAME="AEN1857"
+NAME="AEN1863"
>Example</A
></H3
><P
@@ -6265,7 +6279,7 @@
><HR><H2
CLASS="sect1"
><A
-NAME="AEN1865"
+NAME="AEN1871"
>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.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- hal-spec.xml.in 20 Sep 2004 01:25:54 -0000 1.22
+++ hal-spec.xml.in 20 Sep 2004 09:00:14 -0000 1.23
@@ -1700,6 +1700,14 @@
Number of blocks on the volume
</entry>
</row>
+ <row>
+ <entry><literal>volume.size</literal> (uint64)</entry>
+ <entry></entry>
+ <entry>No</entry>
+ <entry>
+ Size of the volume in bytes
+ </entry>
+ </row>
<row>
<entry><literal>volume.is_partition</literal> (bool)</entry>
More information about the hal-commit
mailing list