UDisks.FilesystemBTRFS¶
- Implementations:
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w |
label |
||
r/w |
num_devices |
||
r/w |
used |
||
r/w |
uuid |
Signals¶
Name |
Short Description |
|---|---|
Signal emitted when a remote caller is invoking the AddDevice() D-Bus method. |
|
Signal emitted when a remote caller is invoking the CreateSnapshot() D-Bus method. |
|
Signal emitted when a remote caller is invoking the CreateSubvolume() D-Bus method. |
|
Signal emitted when a remote caller is invoking the GetSubvolumes() D-Bus method. |
|
Signal emitted when a remote caller is invoking the RemoveDevice() D-Bus method. |
|
Signal emitted when a remote caller is invoking the RemoveSubvolume() D-Bus method. |
|
Signal emitted when a remote caller is invoking the Repair() D-Bus method. |
|
Signal emitted when a remote caller is invoking the Resize() D-Bus method. |
|
Signal emitted when a remote caller is invoking the SetLabel() D-Bus method. |
Fields¶
None
Class Details¶
- class UDisks.FilesystemBTRFS¶
- Bases:
- Structure:
Abstract interface type for the D-Bus interface org.freedesktop.UDisks2.Filesystem.BTRFS.
New in version 2.1.3.
- classmethod interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo. Do not free.- Return type:
Gets a machine-readable description of the org.freedesktop.UDisks2.Filesystem.BTRFS D-Bus interface.
New in version 2.1.3.
- classmethod override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass) – The class structure for aGObject.Objectderived class.property_id_begin (
int) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Objectproperties in theUDisks.FilesystemBTRFSinterface for a concrete class. The properties are overridden in the order they are defined.New in version 2.1.3.
- call_add_device(arg_device, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_device (
str) – Argument to pass with the method invocation.arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the AddDevice() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callUDisks.FilesystemBTRFS.call_add_device_finish() to get the result of the operation.See
UDisks.FilesystemBTRFS.call_add_device_sync() for the synchronous, blocking version of this method.New in version 2.3.0.
- call_add_device_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toUDisks.FilesystemBTRFS.call_add_device().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.FilesystemBTRFS.call_add_device().New in version 2.3.0.
- call_add_device_sync(arg_device, arg_options, cancellable)¶
- Parameters:
arg_device (
str) – Argument to pass with the method invocation.arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the AddDevice() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.FilesystemBTRFS.call_add_device() for the asynchronous version of this method.New in version 2.3.0.
- call_create_snapshot(arg_source, arg_dest, arg_ro, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_source (
str) – Argument to pass with the method invocation.arg_dest (
str) – Argument to pass with the method invocation.arg_ro (
bool) – Argument to pass with the method invocation.arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the CreateSnapshot() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callUDisks.FilesystemBTRFS.call_create_snapshot_finish() to get the result of the operation.See
UDisks.FilesystemBTRFS.call_create_snapshot_sync() for the synchronous, blocking version of this method.New in version 2.1.3.
- call_create_snapshot_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toUDisks.FilesystemBTRFS.call_create_snapshot().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.FilesystemBTRFS.call_create_snapshot().New in version 2.1.3.
- call_create_snapshot_sync(arg_source, arg_dest, arg_ro, arg_options, cancellable)¶
- Parameters:
arg_source (
str) – Argument to pass with the method invocation.arg_dest (
str) – Argument to pass with the method invocation.arg_ro (
bool) – Argument to pass with the method invocation.arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the CreateSnapshot() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.FilesystemBTRFS.call_create_snapshot() for the asynchronous version of this method.New in version 2.1.3.
- call_create_subvolume(arg_name, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_name (
str) – Argument to pass with the method invocation.arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the CreateSubvolume() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callUDisks.FilesystemBTRFS.call_create_subvolume_finish() to get the result of the operation.See
UDisks.FilesystemBTRFS.call_create_subvolume_sync() for the synchronous, blocking version of this method.New in version 2.1.3.
- call_create_subvolume_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toUDisks.FilesystemBTRFS.call_create_subvolume().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.FilesystemBTRFS.call_create_subvolume().New in version 2.1.3.
- call_create_subvolume_sync(arg_name, arg_options, cancellable)¶
- Parameters:
arg_name (
str) – Argument to pass with the method invocation.arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the CreateSubvolume() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.FilesystemBTRFS.call_create_subvolume() for the asynchronous version of this method.New in version 2.1.3.
- call_get_subvolumes(arg_snapshots_only, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_snapshots_only (
bool) – Argument to pass with the method invocation.arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the GetSubvolumes() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callUDisks.FilesystemBTRFS.call_get_subvolumes_finish() to get the result of the operation.See
UDisks.FilesystemBTRFS.call_get_subvolumes_sync() for the synchronous, blocking version of this method.New in version 2.1.3.
- call_get_subvolumes_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toUDisks.FilesystemBTRFS.call_get_subvolumes().- Raises:
- Returns:
- Return type:
(
bool, out_subvolumes:GLib.Variant, out_subvolumes_cnt:int)
Finishes an operation started with
UDisks.FilesystemBTRFS.call_get_subvolumes().New in version 2.1.3.
- call_get_subvolumes_sync(arg_snapshots_only, arg_options, cancellable)¶
- Parameters:
arg_snapshots_only (
bool) – Argument to pass with the method invocation.arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
(
bool, out_subvolumes:GLib.Variant, out_subvolumes_cnt:int)
Synchronously invokes the GetSubvolumes() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.FilesystemBTRFS.call_get_subvolumes() for the asynchronous version of this method.New in version 2.1.3.
- call_remove_device(arg_device, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_device (
str) – Argument to pass with the method invocation.arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the RemoveDevice() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callUDisks.FilesystemBTRFS.call_remove_device_finish() to get the result of the operation.See
UDisks.FilesystemBTRFS.call_remove_device_sync() for the synchronous, blocking version of this method.New in version 2.3.0.
- call_remove_device_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toUDisks.FilesystemBTRFS.call_remove_device().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.FilesystemBTRFS.call_remove_device().New in version 2.3.0.
- call_remove_device_sync(arg_device, arg_options, cancellable)¶
- Parameters:
arg_device (
str) – Argument to pass with the method invocation.arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the RemoveDevice() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.FilesystemBTRFS.call_remove_device() for the asynchronous version of this method.New in version 2.3.0.
- call_remove_subvolume(arg_name, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_name (
str) – Argument to pass with the method invocation.arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the RemoveSubvolume() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callUDisks.FilesystemBTRFS.call_remove_subvolume_finish() to get the result of the operation.See
UDisks.FilesystemBTRFS.call_remove_subvolume_sync() for the synchronous, blocking version of this method.New in version 2.1.3.
- call_remove_subvolume_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toUDisks.FilesystemBTRFS.call_remove_subvolume().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.FilesystemBTRFS.call_remove_subvolume().New in version 2.1.3.
- call_remove_subvolume_sync(arg_name, arg_options, cancellable)¶
- Parameters:
arg_name (
str) – Argument to pass with the method invocation.arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the RemoveSubvolume() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.FilesystemBTRFS.call_remove_subvolume() for the asynchronous version of this method.New in version 2.1.3.
- call_repair(arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the Repair() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callUDisks.FilesystemBTRFS.call_repair_finish() to get the result of the operation.See
UDisks.FilesystemBTRFS.call_repair_sync() for the synchronous, blocking version of this method.New in version 2.3.0.
- call_repair_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toUDisks.FilesystemBTRFS.call_repair().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.FilesystemBTRFS.call_repair().New in version 2.3.0.
- call_repair_sync(arg_options, cancellable)¶
- Parameters:
arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the Repair() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.FilesystemBTRFS.call_repair() for the asynchronous version of this method.New in version 2.3.0.
- call_resize(arg_size, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_size (
int) – Argument to pass with the method invocation.arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the Resize() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callUDisks.FilesystemBTRFS.call_resize_finish() to get the result of the operation.See
UDisks.FilesystemBTRFS.call_resize_sync() for the synchronous, blocking version of this method.New in version 2.3.0.
- call_resize_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toUDisks.FilesystemBTRFS.call_resize().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.FilesystemBTRFS.call_resize().New in version 2.3.0.
- call_resize_sync(arg_size, arg_options, cancellable)¶
- Parameters:
arg_size (
int) – Argument to pass with the method invocation.arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the Resize() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.FilesystemBTRFS.call_resize() for the asynchronous version of this method.New in version 2.3.0.
- call_set_label(arg_label, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_label (
str) – Argument to pass with the method invocation.arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the SetLabel() D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see
GLib.MainContext.push_thread_default()). You can then callUDisks.FilesystemBTRFS.call_set_label_finish() to get the result of the operation.See
UDisks.FilesystemBTRFS.call_set_label_sync() for the synchronous, blocking version of this method.New in version 2.1.3.
- call_set_label_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toUDisks.FilesystemBTRFS.call_set_label().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.FilesystemBTRFS.call_set_label().New in version 2.1.3.
- call_set_label_sync(arg_label, arg_options, cancellable)¶
- Parameters:
arg_label (
str) – Argument to pass with the method invocation.arg_options (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the SetLabel() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.FilesystemBTRFS.call_set_label() for the asynchronous version of this method.New in version 2.1.3.
- complete_add_device(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the AddDevice() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.3.0.
- complete_create_snapshot(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the CreateSnapshot() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.1.3.
- complete_create_subvolume(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the CreateSubvolume() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.1.3.
- complete_get_subvolumes(invocation, subvolumes, subvolumes_cnt)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.subvolumes (
GLib.Variant) – Parameter to return.subvolumes_cnt (
int) – Parameter to return.
Helper function used in service implementations to finish handling invocations of the GetSubvolumes() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.1.3.
- complete_remove_device(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the RemoveDevice() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.3.0.
- complete_remove_subvolume(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the RemoveSubvolume() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.1.3.
- complete_repair(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the Repair() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.3.0.
- complete_resize(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the Resize() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.3.0.
- complete_set_label(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the SetLabel() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.1.3.
- do_handle_add_device(invocation, arg_device, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_device (
str) –arg_options (
GLib.Variant) –
- Return type:
Handler for the
UDisks.FilesystemBTRFS::handle-add-devicesignal.
- do_handle_create_snapshot(invocation, arg_source, arg_dest, arg_ro, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_source (
str) –arg_dest (
str) –arg_ro (
bool) –arg_options (
GLib.Variant) –
- Return type:
Handler for the
UDisks.FilesystemBTRFS::handle-create-snapshotsignal.
- do_handle_create_subvolume(invocation, arg_name, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_name (
str) –arg_options (
GLib.Variant) –
- Return type:
Handler for the
UDisks.FilesystemBTRFS::handle-create-subvolumesignal.
- do_handle_get_subvolumes(invocation, arg_snapshots_only, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_snapshots_only (
bool) –arg_options (
GLib.Variant) –
- Return type:
Handler for the
UDisks.FilesystemBTRFS::handle-get-subvolumessignal.
- do_handle_remove_device(invocation, arg_device, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_device (
str) –arg_options (
GLib.Variant) –
- Return type:
Handler for the
UDisks.FilesystemBTRFS::handle-remove-devicesignal.
- do_handle_remove_subvolume(invocation, arg_name, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_name (
str) –arg_options (
GLib.Variant) –
- Return type:
Handler for the
UDisks.FilesystemBTRFS::handle-remove-subvolumesignal.
- do_handle_repair(invocation, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_options (
GLib.Variant) –
- Return type:
Handler for the
UDisks.FilesystemBTRFS::handle-repairsignal.
- do_handle_resize(invocation, arg_size, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_size (
int) –arg_options (
GLib.Variant) –
- Return type:
Handler for the
UDisks.FilesystemBTRFS::handle-resizesignal.
- do_handle_set_label(invocation, arg_label, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_label (
str) –arg_options (
GLib.Variant) –
- Return type:
Handler for the
UDisks.FilesystemBTRFS::handle-set-labelsignal.
Signal Details¶
- UDisks.FilesystemBTRFS.signals.handle_add_device(filesystem_b_t_r_f_s, invocation, arg_device, arg_options)¶
- Signal Name:
handle-add-device- Flags:
- Parameters:
filesystem_b_t_r_f_s (
UDisks.FilesystemBTRFS) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_device (
str) – Argument passed by remote caller.arg_options (
GLib.Variant) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the AddDevice() D-Bus method.
If a signal handler returns
True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.FilesystemBTRFS.complete_add_device() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.New in version 2.3.0.
- UDisks.FilesystemBTRFS.signals.handle_create_snapshot(filesystem_b_t_r_f_s, invocation, arg_source, arg_dest, arg_ro, arg_options)¶
- Signal Name:
handle-create-snapshot- Flags:
- Parameters:
filesystem_b_t_r_f_s (
UDisks.FilesystemBTRFS) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_source (
str) – Argument passed by remote caller.arg_dest (
str) – Argument passed by remote caller.arg_ro (
bool) – Argument passed by remote caller.arg_options (
GLib.Variant) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the CreateSnapshot() D-Bus method.
If a signal handler returns
True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.FilesystemBTRFS.complete_create_snapshot() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.New in version 2.1.3.
- UDisks.FilesystemBTRFS.signals.handle_create_subvolume(filesystem_b_t_r_f_s, invocation, arg_name, arg_options)¶
- Signal Name:
handle-create-subvolume- Flags:
- Parameters:
filesystem_b_t_r_f_s (
UDisks.FilesystemBTRFS) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_name (
str) – Argument passed by remote caller.arg_options (
GLib.Variant) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the CreateSubvolume() D-Bus method.
If a signal handler returns
True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.FilesystemBTRFS.complete_create_subvolume() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.New in version 2.1.3.
- UDisks.FilesystemBTRFS.signals.handle_get_subvolumes(filesystem_b_t_r_f_s, invocation, arg_snapshots_only, arg_options)¶
- Signal Name:
handle-get-subvolumes- Flags:
- Parameters:
filesystem_b_t_r_f_s (
UDisks.FilesystemBTRFS) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_snapshots_only (
bool) – Argument passed by remote caller.arg_options (
GLib.Variant) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the GetSubvolumes() D-Bus method.
If a signal handler returns
True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.FilesystemBTRFS.complete_get_subvolumes() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.New in version 2.1.3.
- UDisks.FilesystemBTRFS.signals.handle_remove_device(filesystem_b_t_r_f_s, invocation, arg_device, arg_options)¶
- Signal Name:
handle-remove-device- Flags:
- Parameters:
filesystem_b_t_r_f_s (
UDisks.FilesystemBTRFS) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_device (
str) – Argument passed by remote caller.arg_options (
GLib.Variant) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the RemoveDevice() D-Bus method.
If a signal handler returns
True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.FilesystemBTRFS.complete_remove_device() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.New in version 2.3.0.
- UDisks.FilesystemBTRFS.signals.handle_remove_subvolume(filesystem_b_t_r_f_s, invocation, arg_name, arg_options)¶
- Signal Name:
handle-remove-subvolume- Flags:
- Parameters:
filesystem_b_t_r_f_s (
UDisks.FilesystemBTRFS) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_name (
str) – Argument passed by remote caller.arg_options (
GLib.Variant) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the RemoveSubvolume() D-Bus method.
If a signal handler returns
True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.FilesystemBTRFS.complete_remove_subvolume() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.New in version 2.1.3.
- UDisks.FilesystemBTRFS.signals.handle_repair(filesystem_b_t_r_f_s, invocation, arg_options)¶
- Signal Name:
handle-repair- Flags:
- Parameters:
filesystem_b_t_r_f_s (
UDisks.FilesystemBTRFS) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_options (
GLib.Variant) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the Repair() D-Bus method.
If a signal handler returns
True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.FilesystemBTRFS.complete_repair() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.New in version 2.3.0.
- UDisks.FilesystemBTRFS.signals.handle_resize(filesystem_b_t_r_f_s, invocation, arg_size, arg_options)¶
- Signal Name:
handle-resize- Flags:
- Parameters:
filesystem_b_t_r_f_s (
UDisks.FilesystemBTRFS) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_size (
int) – Argument passed by remote caller.arg_options (
GLib.Variant) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the Resize() D-Bus method.
If a signal handler returns
True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.FilesystemBTRFS.complete_resize() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.New in version 2.3.0.
- UDisks.FilesystemBTRFS.signals.handle_set_label(filesystem_b_t_r_f_s, invocation, arg_label, arg_options)¶
- Signal Name:
handle-set-label- Flags:
- Parameters:
filesystem_b_t_r_f_s (
UDisks.FilesystemBTRFS) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_label (
str) – Argument passed by remote caller.arg_options (
GLib.Variant) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the SetLabel() D-Bus method.
If a signal handler returns
True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.FilesystemBTRFS.complete_set_label() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.New in version 2.1.3.
Property Details¶
- UDisks.FilesystemBTRFS.props.label¶
-
Represents the D-Bus property “label”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.1.3.
- UDisks.FilesystemBTRFS.props.num_devices¶
-
Represents the D-Bus property “num_devices”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.1.3.
- UDisks.FilesystemBTRFS.props.used¶
-
Represents the D-Bus property “used”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.1.3.
- UDisks.FilesystemBTRFS.props.uuid¶
-
Represents the D-Bus property “uuid”.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.1.3.