UDisks.FilesystemBTRFS

g GObject.GInterface GObject.GInterface UDisks.FilesystemBTRFS UDisks.FilesystemBTRFS GObject.GInterface->UDisks.FilesystemBTRFS

Implementations:
 UDisks.FilesystemBTRFSProxy, UDisks.FilesystemBTRFSSkeleton

Methods

class interface_info ()
class override_properties (klass, property_id_begin)
  call_add_device (arg_device, arg_options, cancellable, callback, *user_data)
  call_add_device_finish (res)
  call_add_device_sync (arg_device, arg_options, cancellable)
  call_create_snapshot (arg_source, arg_dest, arg_ro, arg_options, cancellable, callback, *user_data)
  call_create_snapshot_finish (res)
  call_create_snapshot_sync (arg_source, arg_dest, arg_ro, arg_options, cancellable)
  call_create_subvolume (arg_name, arg_options, cancellable, callback, *user_data)
  call_create_subvolume_finish (res)
  call_create_subvolume_sync (arg_name, arg_options, cancellable)
  call_get_subvolumes (arg_snapshots_only, arg_options, cancellable, callback, *user_data)
  call_get_subvolumes_finish (res)
  call_get_subvolumes_sync (arg_snapshots_only, arg_options, cancellable)
  call_remove_device (arg_device, arg_options, cancellable, callback, *user_data)
  call_remove_device_finish (res)
  call_remove_device_sync (arg_device, arg_options, cancellable)
  call_remove_subvolume (arg_name, arg_options, cancellable, callback, *user_data)
  call_remove_subvolume_finish (res)
  call_remove_subvolume_sync (arg_name, arg_options, cancellable)
  call_repair (arg_options, cancellable, callback, *user_data)
  call_repair_finish (res)
  call_repair_sync (arg_options, cancellable)
  call_resize (arg_size, arg_options, cancellable, callback, *user_data)
  call_resize_finish (res)
  call_resize_sync (arg_size, arg_options, cancellable)
  call_set_label (arg_label, arg_options, cancellable, callback, *user_data)
  call_set_label_finish (res)
  call_set_label_sync (arg_label, arg_options, cancellable)
  complete_add_device (invocation)
  complete_create_snapshot (invocation)
  complete_create_subvolume (invocation)
  complete_get_subvolumes (invocation, subvolumes, subvolumes_cnt)
  complete_remove_device (invocation)
  complete_remove_subvolume (invocation)
  complete_repair (invocation)
  complete_resize (invocation)
  complete_set_label (invocation)

Virtual Methods

  do_handle_add_device (invocation, arg_device, arg_options)
  do_handle_create_snapshot (invocation, arg_source, arg_dest, arg_ro, arg_options)
  do_handle_create_subvolume (invocation, arg_name, arg_options)
  do_handle_get_subvolumes (invocation, arg_snapshots_only, arg_options)
  do_handle_remove_device (invocation, arg_device, arg_options)
  do_handle_remove_subvolume (invocation, arg_name, arg_options)
  do_handle_repair (invocation, arg_options)
  do_handle_resize (invocation, arg_size, arg_options)
  do_handle_set_label (invocation, arg_label, arg_options)

Properties

Name Type Flags Short Description
label str r/w label
num-devices int r/w num_devices
used int r/w used
uuid str r/w uuid

Signals

Name Short Description
handle-add-device Signal emitted when a remote caller is invoking the AddDevice() D-Bus method.
handle-create-snapshot Signal emitted when a remote caller is invoking the CreateSnapshot() D-Bus method.
handle-create-subvolume Signal emitted when a remote caller is invoking the CreateSubvolume() D-Bus method.
handle-get-subvolumes Signal emitted when a remote caller is invoking the GetSubvolumes() D-Bus method.
handle-remove-device Signal emitted when a remote caller is invoking the RemoveDevice() D-Bus method.
handle-remove-subvolume Signal emitted when a remote caller is invoking the RemoveSubvolume() D-Bus method.
handle-repair Signal emitted when a remote caller is invoking the Repair() D-Bus method.
handle-resize Signal emitted when a remote caller is invoking the Resize() D-Bus method.
handle-set-label Signal emitted when a remote caller is invoking the SetLabel() D-Bus method.

Fields

None

Class Details

class UDisks.FilesystemBTRFS
Bases:GObject.GInterface
Structure:UDisks.FilesystemBTRFSIface

Abstract interface type for the D-Bus interface org.freedesktop.UDisks2.Filesystem.BTRFS.

New in version 2.1.3.

classmethod interface_info()[source]
Returns:A Gio.DBusInterfaceInfo. Do not free.
Return type:Gio.DBusInterfaceInfo

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)[source]
Parameters:
Returns:

The last property id.

Return type:

int

Overrides all GObject.Object properties in the UDisks.FilesystemBTRFS interface 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)[source]
Parameters:

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 call UDisks.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)[source]
Parameters:res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to UDisks.FilesystemBTRFS.call_add_device().
Raises:GLib.Error
Returns:True if the call succeeded, False if error is set.
Return type:bool

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)[source]
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

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)[source]
Parameters:

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 call UDisks.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)[source]
Parameters:res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to UDisks.FilesystemBTRFS.call_create_snapshot().
Raises:GLib.Error
Returns:True if the call succeeded, False if error is set.
Return type:bool

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)[source]
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.Cancellable or None) – A Gio.Cancellable or None.
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

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)[source]
Parameters:

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 call UDisks.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)[source]
Parameters:res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to UDisks.FilesystemBTRFS.call_create_subvolume().
Raises:GLib.Error
Returns:True if the call succeeded, False if error is set.
Return type:bool

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)[source]
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

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)[source]
Parameters:

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 call UDisks.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)[source]
Parameters:res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to UDisks.FilesystemBTRFS.call_get_subvolumes().
Raises:GLib.Error
Returns:True if the call succeeded, False if error is set.
out_subvolumes:Return location for return parameter or None to ignore.
out_subvolumes_cnt:
 Return location for return parameter or None to ignore.
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)[source]
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_subvolumes:Return location for return parameter or None to ignore.
out_subvolumes_cnt:
 Return location for return parameter or None to ignore.

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)[source]
Parameters:

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 call UDisks.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)[source]
Parameters:res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to UDisks.FilesystemBTRFS.call_remove_device().
Raises:GLib.Error
Returns:True if the call succeeded, False if error is set.
Return type:bool

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)[source]
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

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)[source]
Parameters:

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 call UDisks.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)[source]
Parameters:res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to UDisks.FilesystemBTRFS.call_remove_subvolume().
Raises:GLib.Error
Returns:True if the call succeeded, False if error is set.
Return type:bool

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)[source]
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

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)[source]
Parameters:

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 call UDisks.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)[source]
Parameters:res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to UDisks.FilesystemBTRFS.call_repair().
Raises:GLib.Error
Returns:True if the call succeeded, False if error is set.
Return type:bool

Finishes an operation started with UDisks.FilesystemBTRFS.call_repair().

New in version 2.3.0.

call_repair_sync(arg_options, cancellable)[source]
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

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)[source]
Parameters:

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 call UDisks.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)[source]
Parameters:res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to UDisks.FilesystemBTRFS.call_resize().
Raises:GLib.Error
Returns:True if the call succeeded, False if error is set.
Return type:bool

Finishes an operation started with UDisks.FilesystemBTRFS.call_resize().

New in version 2.3.0.

call_resize_sync(arg_size, arg_options, cancellable)[source]
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

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)[source]
Parameters:

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 call UDisks.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)[source]
Parameters:res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to UDisks.FilesystemBTRFS.call_set_label().
Raises:GLib.Error
Returns:True if the call succeeded, False if error is set.
Return type:bool

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)[source]
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

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)[source]
Parameters:invocation (Gio.DBusMethodInvocation) – A Gio.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)[source]
Parameters:invocation (Gio.DBusMethodInvocation) – A Gio.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)[source]
Parameters:invocation (Gio.DBusMethodInvocation) – A Gio.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)[source]
Parameters:

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)[source]
Parameters:invocation (Gio.DBusMethodInvocation) – A Gio.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)[source]
Parameters:invocation (Gio.DBusMethodInvocation) – A Gio.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)[source]
Parameters:invocation (Gio.DBusMethodInvocation) – A Gio.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)[source]
Parameters:invocation (Gio.DBusMethodInvocation) – A Gio.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)[source]
Parameters:invocation (Gio.DBusMethodInvocation) – A Gio.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:
Return type:

bool

do_handle_create_snapshot(invocation, arg_source, arg_dest, arg_ro, arg_options) virtual
Parameters:
Return type:

bool

do_handle_create_subvolume(invocation, arg_name, arg_options) virtual
Parameters:
Return type:

bool

do_handle_get_subvolumes(invocation, arg_snapshots_only, arg_options) virtual
Parameters:
Return type:

bool

do_handle_remove_device(invocation, arg_device, arg_options) virtual
Parameters:
Return type:

bool

do_handle_remove_subvolume(invocation, arg_name, arg_options) virtual
Parameters:
Return type:

bool

do_handle_repair(invocation, arg_options) virtual
Parameters:
Return type:

bool

do_handle_resize(invocation, arg_size, arg_options) virtual
Parameters:
Return type:

bool

do_handle_set_label(invocation, arg_label, arg_options) virtual
Parameters:
Return type:

bool

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:

RUN_LAST

Parameters:
Returns:

True if the invocation was handled, False to let other signal handlers run.

Return type:

bool

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 call UDisks.FilesystemBTRFS.complete_add_device() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error 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:

RUN_LAST

Parameters:
Returns:

True if the invocation was handled, False to let other signal handlers run.

Return type:

bool

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 call UDisks.FilesystemBTRFS.complete_create_snapshot() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error 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:

RUN_LAST

Parameters:
Returns:

True if the invocation was handled, False to let other signal handlers run.

Return type:

bool

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 call UDisks.FilesystemBTRFS.complete_create_subvolume() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error 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:

RUN_LAST

Parameters:
Returns:

True if the invocation was handled, False to let other signal handlers run.

Return type:

bool

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 call UDisks.FilesystemBTRFS.complete_get_subvolumes() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error 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:

RUN_LAST

Parameters:
Returns:

True if the invocation was handled, False to let other signal handlers run.

Return type:

bool

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 call UDisks.FilesystemBTRFS.complete_remove_device() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error 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:

RUN_LAST

Parameters:
Returns:

True if the invocation was handled, False to let other signal handlers run.

Return type:

bool

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 call UDisks.FilesystemBTRFS.complete_remove_subvolume() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error 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:

RUN_LAST

Parameters:
Returns:

True if the invocation was handled, False to let other signal handlers run.

Return type:

bool

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 call UDisks.FilesystemBTRFS.complete_repair() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error 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:

RUN_LAST

Parameters:
Returns:

True if the invocation was handled, False to let other signal handlers run.

Return type:

bool

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 call UDisks.FilesystemBTRFS.complete_resize() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error 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:

RUN_LAST

Parameters:
Returns:

True if the invocation was handled, False to let other signal handlers run.

Return type:

bool

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 call UDisks.FilesystemBTRFS.complete_set_label() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

New in version 2.1.3.

Property Details

UDisks.FilesystemBTRFS.props.label
Name:label
Type:str
Default Value:None
Flags:READABLE, WRITABLE

Represents the D-Bus property “label”.

Since the D-Bus property for this GObject.Object property 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
Name:num-devices
Type:int
Default Value:0
Flags:READABLE, WRITABLE

Represents the D-Bus property “num_devices”.

Since the D-Bus property for this GObject.Object property 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
Name:used
Type:int
Default Value:0
Flags:READABLE, WRITABLE

Represents the D-Bus property “used”.

Since the D-Bus property for this GObject.Object property 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
Name:uuid
Type:str
Default Value:None
Flags:READABLE, WRITABLE

Represents the D-Bus property “uuid”.

Since the D-Bus property for this GObject.Object property 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.