MountT.remount

Remounts a mount. This is an asynchronous operation, and is finished by calling gio.mount.Mount.remountFinish with the mount and #GAsyncResults data returned in the callback.

Remounting is useful when some setting affecting the operation of the volume has been changed, as these may need a remount to take affect. While this is semantically equivalent with unmounting and then remounting not all backends might need to actually be unmounted.

Parameters

flags gio.types.MountMountFlags

flags affecting the operation

mountOperation gio.mount_operation.MountOperation

a #GMountOperation or null to avoid user interaction.

cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore.

callback gio.types.AsyncReadyCallback

a #GAsyncReadyCallback, or null.