remount
Description:
public abstract async bool remount (MountMountFlags flags, MountOperation? mount_operation, Cancellable? cancellable = null) throws Error
Remounts a mount.
This is an asynchronous operation, and is finished by calling remount.end with the
this and AsyncResults 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:
this |
a Mount. |
flags |
flags affecting the operation |
mount_operation |
a MountOperation or null to avoid user interaction. |
cancellable |
optional Cancellable object, null to ignore. |
callback |
a TaskReadyCallback, or null. |
user_data |
user data passed to |