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);
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.1