Top |
LoopSetup (IN h fd, IN a{sv} options, OUT o resulting_device); MDRaidCreate (IN ao blocks, IN s level, IN s name, IN t chunk, IN a{sv} options, OUT o resulting_array); EnableModules (IN b enable);
Interface for top-level manager singleton object located at the
object path /org/freedesktop/UDisks2/Manager
.
LoopSetup (IN h fd, IN a{sv} options, OUT o resulting_device);
Creates a block device for the file represented by fd
.
|
An index for the file descriptor to use. |
|
Options - known options (in addition to standard options) includes |
|
An object path to the object implementing the org.freedesktop.UDisks2.Block interface. |
MDRaidCreate (IN ao blocks, IN s level, IN s name, IN t chunk, IN a{sv} options, OUT o resulting_array);
Creates a new RAID array on the block devices specified by
blocks
. Each element in this array must be an object path to
an object implementing the org.freedesktop.UDisks2.Block
interface.
Known and supported values for level
include
“raid0”, “raid1”,
“raid4”, “raid5”,
“raid6” and “raid10”.
Before the array is created, all devices in blocks
are
erased. Once created (but before the method returns), the RAID
array will be erased.
|
An array of object paths to objects implementing the org.freedesktop.UDisks2.Block interface. |
|
The RAID level for the array. |
|
The name for the array. |
|
The chunk size (in bytes) or 0 if |
|
Options (currently unused except for standard options). |
|
An object path to the object implementing the org.freedesktop.UDisks2.MDRaid interface. |
Since 2.0.0
EnableModules (IN b enable);
Loads and activates modules. This action also causes all objects to receive "add" uevent that triggers additional module interfaces activation.
Modules cannot be deactivated for the moment. Any consecutive calls with modules already enabled equals to noop.
|
A boolean value indicating whether modules should be enabled. Currently only the |