summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDavid Zeuthen <zeuthen@gmail.com>2012-11-29 17:58:21 -0500
committerDavid Zeuthen <zeuthen@gmail.com>2012-11-29 17:58:21 -0500
commit3aa720643490f810ee53e3d5819b7dc0e0b64724 (patch)
tree24293a7f0b0ab74082bc58ccb4a5c52b72d4354e /data
parent301ab668ff65c4e9f28037251bedba26543b6024 (diff)
Add new MDRaid.AddDevice() method
This is used to hot-add a device to a RAID array. Signed-off-by: David Zeuthen <zeuthen@gmail.com>
Diffstat (limited to 'data')
-rw-r--r--data/org.freedesktop.UDisks2.xml14
1 files changed, 13 insertions, 1 deletions
diff --git a/data/org.freedesktop.UDisks2.xml b/data/org.freedesktop.UDisks2.xml
index bc1b5fd..b9c01cd 100644
--- a/data/org.freedesktop.UDisks2.xml
+++ b/data/org.freedesktop.UDisks2.xml
@@ -1901,7 +1901,19 @@
@device after removal.
-->
<method name="RemoveDevice">
- <arg name="block_device" direction="in" type="o"/>
+ <arg name="device" direction="in" type="o"/>
+ <arg name="options" direction="in" type="a{sv}"/>
+ </method>
+
+ <!--
+ AddDevice:
+ @device: An object path to an object implementing the #org.freedesktop.UDisks2.Block interface.
+ @options: Options (currently unused except for <link linkend="udisks-std-options">standard options</link>).
+
+ Adds @device to the array.
+ -->
+ <method name="AddDevice">
+ <arg name="device" direction="in" type="o"/>
<arg name="options" direction="in" type="a{sv}"/>
</method>