summaryrefslogtreecommitdiff
path: root/data/org.freedesktop.UDisks2.xml
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2011-10-31 15:57:14 -0400
committerDavid Zeuthen <davidz@redhat.com>2011-10-31 15:59:23 -0400
commite4526e56c3d18a934e1b9b408617e248f416d6cd (patch)
tree686ba5257a1beb06ae3682b0f1907362c8c0e9a1 /data/org.freedesktop.UDisks2.xml
parentf9bf7d2c2289de621a40c392ada486ea9feaffec (diff)
Partition: Add Set{Name,Type,Flags} methods and implement for dos and gpt
Using the parted(8), sfdisk(8) and sgdisk(8) commands. Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'data/org.freedesktop.UDisks2.xml')
-rw-r--r--data/org.freedesktop.UDisks2.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/data/org.freedesktop.UDisks2.xml b/data/org.freedesktop.UDisks2.xml
index e7300b1..3519ce0 100644
--- a/data/org.freedesktop.UDisks2.xml
+++ b/data/org.freedesktop.UDisks2.xml
@@ -856,6 +856,43 @@
See the #org.freedesktop.UDisks2.Partition:IsContainer property for more information.
-->
<property name="IsContained" type="b" access="read"/>
+
+ <!-- SetType:
+ @type: New type to set.
+ @options: Options (currently unused except for <link linkend="udisks-std-options">standard options</link>).
+
+ Sets the partition type. See the
+ #org.freedesktop.UDisks2.Partition:Type property for a
+ description of known partition types.
+ -->
+ <method name="SetType">
+ <arg name="type" direction="in" type="s"/>
+ <arg name="options" direction="in" type="a{sv}"/>
+ </method>
+
+ <!-- SetName:
+ @name: New name to set.
+ @options: Options (currently unused except for <link linkend="udisks-std-options">standard options</link>).
+
+ Sets the partition name.
+ -->
+ <method name="SetName">
+ <arg name="name" direction="in" type="s"/>
+ <arg name="options" direction="in" type="a{sv}"/>
+ </method>
+
+ <!-- SetFlags:
+ @flags: New flags to set.
+ @options: Options (currently unused except for <link linkend="udisks-std-options">standard options</link>).
+
+ Sets the partition flags. See the
+ #org.freedesktop.UDisks2.Partition:Flags property for a
+ description of known flags.
+ -->
+ <method name="SetFlags">
+ <arg name="flags" direction="in" type="t"/>
+ <arg name="options" direction="in" type="a{sv}"/>
+ </method>
</interface>
<!-- ********************************************************************** -->