hal/doc/spec hal-spec.xml.in,1.16,1.17
Joe Shaw
joe at freedesktop.org
Thu Aug 26 11:04:22 PDT 2004
Update of /cvs/hal/hal/doc/spec
In directory gabe:/tmp/cvs-serv21069/doc/spec
Modified Files:
hal-spec.xml.in
Log Message:
2004-08-26 Joe Shaw <joeshaw at novell.com>
* configure.in: Don't check for a C++ compiler... we don't have
any C++ code.
* doc/spec/hal-spec.xml.in: Add a section about kernel properties.
* hald/linux/osspec.c (osspec_probe): Get kernel info from uname()
and add the properties to the Computer device.
Index: hal-spec.xml.in
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-spec.xml.in,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- hal-spec.xml.in 25 Aug 2004 23:56:09 -0000 1.16
+++ hal-spec.xml.in 26 Aug 2004 18:04:20 -0000 1.17
@@ -1759,6 +1759,62 @@
</sect2>
+ <sect2 id="device-properties-kernel">
+ <title><literal>kernel</literal> namespace</title>
+ <para>
+
+ This namespace is found on the toplevel "Computer" device,
+ and represents information about the currently running kernel.
+
+ </para>
+
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Key (type)</entry>
+ <entry>Values</entry>
+ <entry>Mandatory</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+
+ <row>
+ <entry><literal>kernel.name</literal> (string)</entry>
+ <entry>example: Linux</entry>
+ <entry>No</entry>
+ <entry>
+ The name of the kernel, usually the equivalent of
+ <literal>uname -s</literal>.
+ </entry>
+ </row>
+ <row>
+ <entry><literal>kernel.version</literal> (string)</entry>
+ <entry>example: 2.6.5-7.104-default</entry>
+ <entry>No</entry>
+ <entry>
+ The version of the currently running kernel. Usually
+ the equivalent of <literal>uname -r</literal>.
+ </entry>
+ </row>
+ <row>
+ <entry><literal>kernel.machine</literal> (string)</entry>
+ <entry>example: i686</entry>
+ <entry>No</entry>
+ <entry>
+ The "machine hardware name" of the currently running kernel.
+ Usually the equivalent of <literal>uname -m</literal>.
+ </entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </informaltable>
+
+ </sect2>
+
+
<sect2 id="device-properties-volume-disc">
<title><literal>volume.disc</literal> namespace</title>
<para>
More information about the hal-commit
mailing list