remount

open fun remount(flags: MountMountFlags, mountOperation: MountOperation? = null, cancellable: Cancellable? = null, callback: AsyncReadyCallback)

Remounts a mount. This is an asynchronous operation, and is finished by calling g_mount_remount_finish() 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

flags affecting the operation

mountOperation

a #GMountOperation or null to avoid user interaction.

cancellable

optional #GCancellable object, null to ignore.

callback

a #GAsyncReadyCallback, or null.