mkswap_file
Description:
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.
Parameters:
this |
A GuestfsSession object |
Returns:
true on success, false on error |