Mount.remount

void remount(gio.types.MountMountFlags flags, gio.mount_operation.MountOperation mountOperation = null, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

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

flagsflags affecting the operation
mountOperationa #GMountOperation or null to avoid user interaction.
cancellableoptional #GCancellable object, null to ignore.
callbacka #GAsyncReadyCallback, or null.