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

David Zeuthen david at freedesktop.org
Thu Aug 19 10:58:17 PDT 2004


Update of /cvs/hal/hal/doc/spec
In directory pdx:/tmp/cvs-serv20892/doc/spec

Modified Files:
	hal-spec.html hal-spec.xml.in 
Log Message:
2004-08-19  David Zeuthen  <david at fubar.dk>

	* tools/fstab-sync.c: Lot's of changes: remove old locking code;
	fix security issue (remove dev,suid) with the given mount options 
	(RH bug #130290); Use a, pretty lame perhaps, heuristic to add 
	noatime,sync for hotpluggable volumes smaller than 1GB. Check device 
	mentioned in /etc/fstab for symlink and if found, update the 
	block.device property in HAL if applicable; Use macros for mount
	root and noop keyword (see configure.in changes).	

	* hald/linux/block_class_device.c (volume_set_size): New function
	(detect_media): Call volume_set_size
	(block_class_pre_process): Call volume_set_size

	* doc/spec/hal-spec.xml.in: Add documentation for volume.block_size
	and volume.num_blocks.

	* configure.in: Add gobject>=2.2.2 to PKG_CHECK_MODULES. Patch from 
	Steve Grubb <linux_4ever at yahoo.com>. Added some configuration options
	for fstab-sync.



Index: hal-spec.html
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-spec.html,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- hal-spec.html	17 Aug 2004 09:29:24 -0000	1.15
+++ hal-spec.html	19 Aug 2004 17:58:15 -0000	1.16
@@ -384,26 +384,26 @@
 ><DL
 ><DT
 ><A
-HREF="#AEN1704"
+HREF="#AEN1715"
 >Interface org.freedesktop.Hal.Manager</A
 ></DT
 ><DD
 ><DL
 ><DT
 ><A
-HREF="#AEN1715"
+HREF="#AEN1726"
 >Example</A
 ></DT
 ></DL
 ></DD
 ><DT
 ><A
-HREF="#AEN1723"
+HREF="#AEN1734"
 >Interface org.freedesktop.Hal.Device</A
 ></DT
 ><DT
 ><A
-HREF="#AEN1732"
+HREF="#AEN1743"
 >Interface org.freedesktop.Hal.AgentManager</A
 ></DT
 ></DL
@@ -3210,25 +3210,6 @@
 		level block device have already been scanned for filesystems.
 	      </TD
 ></TR
-><TR
-><TD
-><TT
-CLASS="literal"
->block.storage_device</TT
-> (string)</TD
-><TD
->&nbsp;</TD
-><TD
->Yes</TD
-><TD
->The UDI of the device object with a 
-	      <TT
-CLASS="literal"
->storage</TT
-> capability that in detail
-	      describes the characteristics of the physical storage
-	      device that this device object is part of</TD
-></TR
 ></TBODY
 ></TABLE
 ><P
@@ -3294,7 +3275,7 @@
 ><P
 ></P
 ><A
-NAME="AEN908"
+NAME="AEN901"
 ></A
 ><TABLE
 BORDER="1"
@@ -3374,14 +3355,27 @@
 ><TD
 ><TT
 CLASS="literal"
+>volume.fsversion</TT
+> (string)</TD
+><TD
+>example: FAT32</TD
+><TD
+>&nbsp;</TD
+><TD
+>Version number or subtype of the filesystem</TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
 >volume.label</TT
 > (string)</TD
 ><TD
 >example: 'Fedora Core 1.90' </TD
 ><TD
->Yes (is blank if the filesystem doesn't support labels)</TD
+>Yes (is blank if no label is found)</TD
 ><TD
->The label of the media</TD
+>The label of the volume</TD
 ></TR
 ><TR
 ><TD
@@ -3392,7 +3386,7 @@
 ><TD
 >example: 4060-6C11</TD
 ><TD
->Yes (is blank if there is no UUID)</TD
+>Yes (is blank if no UUID is found)</TD
 ><TD
 >The Universal Unique Identifer for the volume</TD
 ></TR
@@ -3414,6 +3408,34 @@
 >volume.disc</TT
 ></TD
 ></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>volume.block_size</TT
+> (string)</TD
+><TD
+>&nbsp;</TD
+><TD
+>No</TD
+><TD
+>&#13;		The block size of the volume
+	      </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>volume.num_blocks</TT
+> (string)</TD
+><TD
+>&nbsp;</TD
+><TD
+>No</TD
+><TD
+>&#13;		Number of blocks on the volume
+	      </TD
+></TR
 ></TBODY
 ></TABLE
 ><P
@@ -3428,7 +3450,7 @@
 ><P
 ></P
 ><A
-NAME="AEN961"
+NAME="AEN972"
 ></A
 ><TABLE
 BORDER="1"
@@ -3574,7 +3596,7 @@
 ><P
 ></P
 ><A
-NAME="AEN1006"
+NAME="AEN1017"
 ></A
 ><TABLE
 BORDER="1"
@@ -3836,7 +3858,7 @@
 ><P
 ></P
 ><A
-NAME="AEN1113"
+NAME="AEN1124"
 ></A
 ><TABLE
 BORDER="1"
@@ -4255,7 +4277,7 @@
 ><P
 ></P
 ><A
-NAME="AEN1282"
+NAME="AEN1293"
 ></A
 ><TABLE
 BORDER="1"
@@ -4454,7 +4476,7 @@
 ><P
 ></P
 ><A
-NAME="AEN1362"
+NAME="AEN1373"
 ></A
 ><TABLE
 BORDER="1"
@@ -4581,7 +4603,7 @@
 ><P
 ></P
 ><A
-NAME="AEN1408"
+NAME="AEN1419"
 ></A
 ><TABLE
 BORDER="1"
@@ -4705,7 +4727,7 @@
 ><P
 ></P
 ><A
-NAME="AEN1453"
+NAME="AEN1464"
 ></A
 ><TABLE
 BORDER="1"
@@ -4772,7 +4794,7 @@
 ><P
 ></P
 ><A
-NAME="AEN1473"
+NAME="AEN1484"
 ></A
 ><TABLE
 BORDER="1"
@@ -4837,7 +4859,7 @@
 ><P
 ></P
 ><A
-NAME="AEN1493"
+NAME="AEN1504"
 ></A
 ><TABLE
 BORDER="1"
@@ -4964,7 +4986,7 @@
 ><P
 ></P
 ><A
-NAME="AEN1537"
+NAME="AEN1548"
 ></A
 ><TABLE
 BORDER="1"
@@ -5111,7 +5133,7 @@
 ><P
 ></P
 ><A
-NAME="AEN1585"
+NAME="AEN1596"
 ></A
 ><TABLE
 BORDER="1"
@@ -5465,7 +5487,7 @@
 ><P
 ></P
 ><A
-NAME="AEN1662"
+NAME="AEN1673"
 ></A
 ><TABLE
 BORDER="1"
@@ -5625,7 +5647,7 @@
 ><HR><H2
 CLASS="sect1"
 ><A
-NAME="AEN1704"
+NAME="AEN1715"
 >Interface org.freedesktop.Hal.Manager</A
 ></H2
 ><P
@@ -5741,7 +5763,7 @@
 ><HR><H3
 CLASS="sect2"
 ><A
-NAME="AEN1715"
+NAME="AEN1726"
 >Example</A
 ></H3
 ><P
@@ -5859,7 +5881,7 @@
 ><HR><H2
 CLASS="sect1"
 ><A
-NAME="AEN1723"
+NAME="AEN1734"
 >Interface org.freedesktop.Hal.Device</A
 ></H2
 ><P
@@ -6012,7 +6034,7 @@
 ><HR><H2
 CLASS="sect1"
 ><A
-NAME="AEN1732"
+NAME="AEN1743"
 >Interface org.freedesktop.Hal.AgentManager</A
 ></H2
 ><P

Index: hal-spec.xml.in
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-spec.xml.in,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- hal-spec.xml.in	19 Aug 2004 00:23:04 -0000	1.14
+++ hal-spec.xml.in	19 Aug 2004 17:58:15 -0000	1.15
@@ -1532,16 +1532,6 @@
 		level block device have already been scanned for filesystems.
 	      </entry>
             </row>
-            <row>
-              <entry><literal>block.storage_device</literal> (string)</entry>
-              <entry></entry>
-              <entry>Yes</entry>
-              <entry>The UDI of the device object with a 
-	      <literal>storage</literal> capability that in detail
-	      describes the characteristics of the physical storage
-	      device that this device object is part of</entry>
-            </row>
-
           </tbody>
         </tgroup>
       </informaltable>
@@ -1651,6 +1641,25 @@
               the capability <literal>volume.disc</literal></entry>
             </row>
 
+            <row>
+              <entry><literal>volume.block_size</literal> (string)</entry>
+              <entry></entry>
+              <entry>No</entry>
+              <entry>
+		The block size of the volume
+	      </entry>
+            </row>
+
+            <row>
+              <entry><literal>volume.num_blocks</literal> (string)</entry>
+              <entry></entry>
+              <entry>No</entry>
+              <entry>
+		Number of blocks on the volume
+	      </entry>
+            </row>
+
+
 				      
           </tbody>
         </tgroup>




More information about the hal-commit mailing list