summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDavid Zeuthen <zeuthen@gmail.com>2012-10-13 05:36:56 -0400
committerDavid Zeuthen <zeuthen@gmail.com>2012-10-13 05:38:53 -0400
commit2464898298c3b9f2bcf6e0a1b2065441648325e6 (patch)
tree7756d60cd5710822be94185e81cd37c577eccdcc /data
parentdf49bb157133482b263e5075270d3c5ec157cab1 (diff)
Add support for option 'no-block' in the Block.Format() method
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
Diffstat (limited to 'data')
-rw-r--r--data/org.freedesktop.UDisks2.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/data/org.freedesktop.UDisks2.xml b/data/org.freedesktop.UDisks2.xml
index ba436c1..bb0e142 100644
--- a/data/org.freedesktop.UDisks2.xml
+++ b/data/org.freedesktop.UDisks2.xml
@@ -1043,7 +1043,7 @@
<!--
Format:
@type: The type of file system, partition table or other content to format the device with.
- @options: Options - known options (in addition to <link linkend="udisks-std-options">standard options</link>) includes <parameter>label</parameter> (of type 's'), <parameter>take-ownership</parameter> (of type 'b'), <parameter>encrypt.passphrase</parameter> (of type 's') and <parameter>erase</parameter> (of type 's').
+ @options: Options - known options (in addition to <link linkend="udisks-std-options">standard options</link>) includes <parameter>label</parameter> (of type 's'), <parameter>take-ownership</parameter> (of type 'b'), <parameter>encrypt.passphrase</parameter> (of type 's'), <parameter>erase</parameter> (of type 's') and <parameter>no-block</parameter> (of type 'b').
Formats the device with a file system, partition table or
other well-known content.
@@ -1079,6 +1079,12 @@
before formatting, <quote>ata-secure-erase</quote> to perform
a secure erase or <quote>ata-secure-erase-enhanced</quote> to
perform an enhanced secure erase.
+
+ If the option <parameter>no-block</parameter> is set to %TRUE
+ then the method returns just before the actual formatting
+ takes place but after authorization and other checks are
+ done. This is useful for applications that want to format
+ several devices in parallel.
-->
<method name="Format">
<arg name="type" direction="in" type="s"/>