[ Version ( since = "1.0.66" ) ]
public bool mkswap_file (string path) throws Error
create a swap file
Create a swap file.
This command just writes a swap file signature to an existing file. To create the file itself, use something like fallocate.
this |
A GuestfsSession object |
true on success, false on error |