hal/doc/spec hal-spec.xml.in,1.68,1.69
David Zeuthen
david at kemper.freedesktop.org
Fri Mar 10 10:46:18 PST 2006
Update of /cvs/hal/hal/doc/spec
In directory kemper:/tmp/cvs-serv32750/doc/spec
Modified Files:
hal-spec.xml.in
Log Message:
2006-03-10 David Zeuthen <davidz at redhat.com>
Patch from Christian Neumair <chris at gnome-de.org>.
* hald/linux2/blockdev.c (hotplug_event_begin_add_blockdev): Set
FALSE for volume.is_mounted_read_only
* libhal-storage/libhal-storage.c (libhal_drive_from_udi): Extract
volume.is_mounted_read_only
(libhal_volume_is_mounted_read_only): New function
* libhal-storage/libhal-storage.h: Export prototype for
libhal_volume_is_mounted_read_only()
* hald/linux2/blockdev.c (blockdev_refresh_mount_state): Set
volume.is_mounted_read_only
* doc/spec/hal-spec.xml.in: Document volume.is_mounted_read_only
Index: hal-spec.xml.in
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-spec.xml.in,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- hal-spec.xml.in 8 Mar 2006 05:15:47 -0000 1.68
+++ hal-spec.xml.in 10 Mar 2006 18:46:16 -0000 1.69
@@ -2525,6 +2525,14 @@
<entry>This property is TRUE if and only if the volume is mounted</entry>
</row>
<row>
+ <entry><literal>volume.is_mounted_read_only</literal> (bool)</entry>
+ <entry></entry>
+ <entry>Yes</entry>
+ <entry>This property is TRUE if and only if the volume is mounted and
+ the volume's file-system is read-only.
+ </entry>
+ </row>
+ <row>
<entry><literal>volume.mount_point</literal> (string)</entry>
<entry>example: /media/compact_flash1 </entry>
<entry>Yes (is blank only when volume.is_mounted is FALSE)</entry>
More information about the hal-commit
mailing list