MountT.remount

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 GMountMountFlags

flags affecting the operation

mountOperation MountOperation

a GMountOperation or NULL to avoid user interaction. [allow-none]

cancellable Cancellable

optional GCancellable object, NULL to ignore. [allow-none]

callback GAsyncReadyCallback

a GAsyncReadyCallback, or NULL. [allow-none]

userData void*

user data passed to callback.

Meta