mkswap_file


Description:

[ 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.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error




2022 vala-language.org