diff options
author | David Zeuthen <zeuthen@gmail.com> | 2012-09-15 13:56:04 -0400 |
---|---|---|
committer | David Zeuthen <zeuthen@gmail.com> | 2012-09-15 13:56:04 -0400 |
commit | 5021a0baab993ab96b6fd5c1c46c454cd98b44f6 (patch) | |
tree | 1551de0ffc6f7383fe1cc1978333c14c356edf2d /data | |
parent | 703a0cd310aff8d5197172b5171354b357791563 (diff) |
Add @start-degraded option to MDRaid.Start()
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
Diffstat (limited to 'data')
-rw-r--r-- | data/org.freedesktop.UDisks2.xml | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/data/org.freedesktop.UDisks2.xml b/data/org.freedesktop.UDisks2.xml index 14bdbf4..2e57a82 100644 --- a/data/org.freedesktop.UDisks2.xml +++ b/data/org.freedesktop.UDisks2.xml @@ -710,7 +710,7 @@ <property name="MDRaid" type="o" access="read"/> <!-- MDRaidMember: - If the block device is part a member of a MD-RAID array, this + If the block device is a member of a MD-RAID array, this is set to the #org.freedesktop.UDisks2.MDRaid object that it correspond to. Is '/' if no such object exists. --> @@ -1640,7 +1640,7 @@ <property name="SyncCompleted" type="d" access="read"/> <!-- Degraded: - Number of devices by which the array is degraded (0 if not degraded). + Number of devices by which the array is degraded (0 if not degraded or not running). This property corresponds to the <literal>degraded</literal> sysfs file, see the @@ -1649,6 +1649,24 @@ --> <property name="Degraded" type="u" access="read"/> + <!-- CanStart: + Set to %TRUE if the array can be started in non-degraded mode. + + This property is calculated by looking at the various block + devices that appear to be a member of the array (cf. the + #org.freedesktop.UDisks2.Block:MDRaidMember property). + --> + <property name="CanStart" type="b" access="read"/> + + <!-- CanStartDegraded: + Set to %TRUE if the array can be started in non-degraded mode. + + This property is calculated by looking at the various block + devices that appear to be a member of the array (cf. the + #org.freedesktop.UDisks2.Block:MDRaidMember property). + --> + <property name="CanStartDegraded" type="b" access="read"/> + <!-- ActiveDevices: This property is an array with block devices that are currently associated with the with the array. It is empty if @@ -1677,9 +1695,13 @@ <!-- Start: - @options: Options (currently unused except for <link linkend="udisks-std-options">standard options</link>). + @options: Options - known options (in addition to <link linkend="udisks-std-options">standard options</link>) includes <parameter>start-degraded</parameter> (of type 'b'). Starts the RAID array. + + If the @option parameter contains the key @start-degraded with + the value %TRUE, the array will be started even if some members + are missing. --> <method name="Start"> <arg name="options" direction="in" type="a{sv}"/> |