Top | ![]() |
![]() |
![]() |
![]() |
org.freedesktop.UDisksorg.freedesktop.UDisks — UDisks interface |
EnumerateAdapters(out'ao'devices) EnumerateExpanders(out'ao'devices) EnumeratePorts(out'ao'devices) EnumerateDevices(out'ao'devices) EnumerateDeviceFiles(out'as'device_files) FindDeviceByDeviceFile(in's'device_file, out'o'device) FindDeviceByMajorMinor(in'x'device_major, in'x'device_minor, out'o'device) DriveInhibitAllPolling(in'as'options, out's'cookie) DriveUninhibitAllPolling(in's'cookie) DriveSetAllSpindownTimeouts(in'i'timeout_seconds, in'as'options, out's'cookie) DriveUnsetAllSpindownTimeouts(in's'cookie) LinuxLvm2VGStart(in's'uuid, in'as'options) LinuxLvm2VGStop(in's'uuid, in'as'options) LinuxLvm2VGSetName(in's'uuid, in's'name) LinuxLvm2VGAddPV(in's'uuid, in'o'physical_volume, in'as'options) LinuxLvm2VGRemovePV(in's'vg_uuid, in's'pv_uuid, in'as'options) LinuxLvm2LVSetName(in's'group_uuid, in's'uuid, in's'name) LinuxLvm2LVStart(in's'group_uuid, in's'uuid, in'as'options) LinuxLvm2LVRemove(in's'group_uuid, in's'uuid, in'as'options) LinuxLvm2LVCreate(in's'group_uuid, in's'name, in't'size, in'u'num_stripes, in't'stripe_size, in'u'num_mirrors, in'as'options, in's'fstype, in'as'fsoptions, out'o'created_device) LinuxMdStart(in'ao'components, in'as'options, out'o'device) LinuxMdCreate(in'ao'components, in's'level, in't'stripe_size, in's'name, in'as'options, out'o'device) Inhibit(out's'cookie) Uninhibit(in's'cookie)
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) AdapterAdded('o'adapter) AdapterRemoved('o'adapter) AdapterChanged('o'adapter) ExpanderAdded('o'expander) ExpanderRemoved('o'expander) ExpanderChanged('o'expander) PortAdded('o'port) PortRemoved('o'port) PortChanged('o'port)
Objects implementing org.freedesktop.UDisks also implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties
'DaemonVersion'read's' 'DaemonIsInhibited'read'b' 'SupportsLuksDevices'read'b' 'KnownFilesystems'read'a(ssbbbubbbbbbbb)'
Enumerate all storage adapters on the system.
|
An array of object paths for storage adapters. |
Enumerate all storage expanders on the system.
|
An array of object paths for storage expanders. |
Enumerate all storage ports on the system.
|
An array of object paths for ports. |
Enumerate all disk devices on the system.
|
An array of object paths for devices. |
Enumerate all device files (including symlinks) for disk devices on the system.
|
An array device file names. |
Finds a device by device path.
|
UNIX special device file |
|
Object path of device |
FindDeviceByMajorMinor (in'x'device_major, in'x'device_minor, out'o'device)
Finds a device by major:minor.
|
Device major |
|
Device minor |
|
Object path of device |
Inhibits the daemon from polling devices for media changes.
|
Inhibit options. Currently no options are recognized. |
|
A cookie that can be used in the
DriveUninhibitAllPolling() method
to stop inhibiting polling of all devices.
|
|
if the caller lacks the appropriate PolicyKit authorization |
|
if the operation failed |
Uninhibits daemon from polling devices for media changes.
|
A cookie obtained from the
DriveInhibitAllPolling() method.
|
DriveSetAllSpindownTimeouts (in'i'timeout_seconds, in'as'options, out's'cookie)
Configures spindown timeout for all drives capable of being spun down.
Caution should be exercised when using this method, see
the SPINNING DOWN DISKS section in the
udisks(1)
man page before using it.
|
Number of seconds before drives should be spun down. |
|
Options related to setting spindown timeouts. Currently no options are recognized. |
|
A cookie that can be used in the
DriveUnsetAllSpindownTimeouts() method
to unset the spindown timeout for drives.
|
|
if the caller lacks the appropriate PolicyKit authorization |
|
if the operation failed |
|
if an invalid or malformed option was given |
Unsets spindown timeout for the drive.
|
A cookie obtained from the
DriveSetSpindownTimeout() method.
|
|
if the caller lacks the appropriate PolicyKit authorization |
|
if the operation failed |
Starts all logical volumes in Linux LVM2 Volume Group.
|
The UUID of the volume group to start. |
|
Options for starting the VG. Currently no options are supported. |
|
if the caller lacks the appropriate PolicyKit authorization |
|
if one of the given components are busy |
|
if the operation failed |
|
if the job was cancelled |
Stops all logical volumes in Linux LVM2 Volume Group.
|
The UUID of the volume group to stop. |
|
Options for stopping the VG. Currently no options are supported. |
|
if the caller lacks the appropriate PolicyKit authorization |
|
if one of the given components are busy |
|
if the operation failed |
|
if the job was cancelled |
Sets the name for a volume group.
|
The UUID of the volume group to set the name for. |
|
The new name for the volume group. |
|
if the caller lacks the appropriate PolicyKit authorization |
|
if one of the given components are busy |
|
if the operation failed |
|
if the job was cancelled |
Adds a Physical volume to a Linux LVM2 Volume Group. Existing data on the given device to use for a physical volume will be erased.
|
The UUID of the volume group to add a physical volume to. |
|
The objcet path of the device to use as a physical volume. |
|
Currently unused. |
|
if the caller lacks the appropriate PolicyKit authorization |
|
if one of the given components are busy |
|
if the operation failed |
|
if the job was cancelled |
Removes a Physical volume from a Linux LVM2 Volume Group.
|
The UUID of the volume group to remove the physical volume from. |
|
The UUID of the physical volume to remove from the VG. |
|
Currently unused. |
|
if the caller lacks the appropriate PolicyKit authorization |
|
if one of the given components are busy |
|
if the operation failed |
|
if the job was cancelled |
Sets the name for a logical volume.
|
The UUID of the volume group for the logical volume. |
|
The UUID of the logical volume to set the name for. |
|
The new name for the logical volume. |
|
if the caller lacks the appropriate PolicyKit authorization |
|
if one of the given components are busy |
|
if the operation failed |
|
if the job was cancelled |
Starts a LVM2 logical volume.
|
The UUID of the volume group of the logical volume to start belongs to. |
|
The UUID of the logical volume to start. |
|
Options for starting the logical volume. Currently no options are supported. |
|
if the caller lacks the appropriate PolicyKit authorization |
|
if one of the given components are busy |
|
if the operation failed |
|
if the job was cancelled |
Removes a LVM2 logical volume.
|
The UUID of the volume group of the logical volume to start belongs to. |
|
The UUID of the logical volume to remove. |
|
Options used for the removal of the logical volume. Currently no options are supported. |
|
if the caller lacks the appropriate PolicyKit authorization |
|
if one of the given components are busy |
|
if the operation failed |
|
if the job was cancelled |
LinuxLvm2LVCreate (in's'group_uuid, in's'name, in't'size, in'u'num_stripes, in't'stripe_size, in'u'num_mirrors, in'as'options, in's'fstype, in'as'fsoptions, out'o'created_device)
Creates a new LVM2 logical volume.
|
The UUID of the volume group to create a logical volume in. |
|
The name for the logical volume. |
|
The size of the logical volume, in bytes. |
|
Number of stripes to use. |
|
The stripe size to use or 0 if @num_stripes is 0. This must be a power of two. |
|
Number of mirrors to use. |
|
Options used when creating the logical volume. Currently no options are supported. |
|
The file system to create in new logical filesystem. Leave
blank to skip creating a file system. See the
Device.FilesystemCreate() method
for details.
|
|
Options to use for file system creation. See the
Device.FilesystemCreate() method
for details.
|
|
The object path of the newly added logical volume. |
|
if the caller lacks the appropriate PolicyKit authorization |
|
if one of the given components are busy |
|
if the operation failed |
|
if the job was cancelled |
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 the operation failed |
|
if the job was cancelled |
LinuxMdCreate (in'ao'components, in's'level, in't'stripe_size, in's'name, in'as'options, out'o'device)
Creates a Linux md RAID array. The array will be created and assembled.
|
The object paths of the components to use for the array. |
|
RAID level. |
|
Stripe Size in bytes, or 0 to use the default stripe size. |
|
Name of the array. |
|
Options for creating the array. Currently no options are supported. |
|
The object path of the created array device. |
|
if the caller lacks the appropriate PolicyKit authorization |
|
if one of the given components are busy |
|
if the operation failed |
|
if the job was cancelled |
Inhibits clients from invoking methods on the daemon
of the daemon that require authorization (all methods
will return the org.freedesktop.PolicyKit.Error.Inhibited
error)
if the caller is not the super user.
This is typically used by OS installers and other
programs that expects full control of the system, specifically
to avoid automounting devices.
|
A cookie that can be used in the
Uninhibit() method.
to stop inhibiting the daemon.
|
Uninhibits other clients from using the daemon.
|
A cookie obtained from the
Inhibit() method.
|
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). |
Emitted when an adapter is added.
|
Object path of adapter that was added. |
Emitted when an adapter is removed.
|
Object path of adapter that was removed. |
Emitted when an adapter changed.
|
Object path of adapter that was changed. |
Emitted when an expander is added.
|
Object path of expander that was added. |
Emitted when an expander is removed.
|
Object path of expander that was removed. |
Emitted when an expander changed.
|
Object path of expander that was changed. |
Emitted when a port is added.
|
Object path of port that was added. |
Emitted when a port is removed.
|
Object path of port that was removed. |
Emitted when a port changed.
|
Object path of port that was changed. |
The version of the running daemon.
TRUE only if the daemon is inhibited.
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:IdType
property.