remount


Description:

[ Version ( since = "1.23.2" ) ]
public bool remount (string mountpoint, Remount? optargs) throws Error

remount a filesystem with different options

This call allows you to change the rw (readonly/read-write) flag on an already mounted filesystem at mountpoint, converting a readonly filesystem to be read-write, or vice-versa.

Note that at the moment you must supply the "optional" rw parameter. In future we may allow other flags to be adjusted.

Parameters:

this

A GuestfsSession object

optargs

a GuestfsRemount containing optional arguments

Returns:

true on success, false on error