set_autosync


Description:

[ Version ( since = "0.3" ) ]
public bool set_autosync (bool autosync) throws Error

set autosync mode

If autosync is true, this enables autosync. Libguestfs will make a best effort attempt to make filesystems consistent and synchronized when the handle is closed (also if the program exits without closing handles).

This is enabled by default (since libguestfs 1.5.24, previously it was disabled by default).

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error