![]() |
![]() |
![]() |
DeviceKit-disks Reference Manual | ![]() |
---|---|---|---|---|
org.freedesktop.DeviceKit.Disksorg.freedesktop.DeviceKit.Disks — Disks interface |
EnumerateDevices (out 'ao' devices) FindDeviceByDeviceFile (in 's' device_file, out 'o' device) LinuxMdStart (in 'ao' components, in 'as' options, out 'o' device)
DeviceAdded ('o' device) DeviceRemoved ('o' device) DeviceChanged ('o' device) DeviceJobChanged ('o' device, 'b' job-in-progress, 'b' job-is-cancellable, 's' job-id, 'i' job-num-tasks, 'i' job-cur-task, 's' job-cur-task-id, 'd' job-cur-task-percentage)
Objects implementing org.freedesktop.DeviceKit.Disks also implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties
'daemon-version' read 's' 'supports-luks-devices' read 'b' 'known-filesystems' read 'a(ssbbbubbbbbbbb)'
Enumerate all disks on the system.
|
An array of object paths for devices. |
Finds a device by device path.
|
UNIX special device file |
|
Object path of device |
Starts an Linux md RAID array. The array will be assembled and started in degraded mode if an insufficient number of components are given.
|
The object paths of the components of the array to start. |
|
Options for starting the array. Currently no options are supported. |
|
The object path of the assembled array device. |
|
if the caller lacks the appropriate PolicyKit authorization |
|
if one of the given components are busy |
|
if incoming parameters are invalid or an unknown error occured |
|
if the job was cancelled |
|
one of the given components doesn't exist or is not a Linux md component |
non-system-internal
.
system-internal
components.
Emitted when a device is added.
|
Object path of device that was added. |
Emitted when a device is removed.
|
Object path of device that was removed. |
Emitted when a device changed.
|
Object path of device that was changed. |
DeviceJobChanged ('o' device, 'b' job-in-progress, 'b' job-is-cancellable, 's' job-id, 'i' job-num-tasks, 'i' job-cur-task, 's' job-cur-task-id, 'd' job-cur-task-percentage)
Emitted when a job on a device changes.
|
The object path of the device. |
|
Whether a job is currently in progress. |
|
Whether the job is cancellable. |
|
The identifier of the job. |
|
Number of tasks in the job. |
|
Current task number (zero-based offset). |
|
Task identifier for current task. |
|
Percentage completed of current task (between 0 and 100, negative if unknown). |
The version of the running daemon.
TRUE only if the daemon can create encrypted LUKS block devices, see the
LuksUnlock()
and
LuksLock()
methods for details.
An array of file systems known to the daemon and what features are supported. Each element in the array contains the following members:
ext3
or vfat
),
similar to the contents of the
Device:id-type
property.