mkswap_U


Description:

[ Version ( deprecated = true , since = "1.0.55" ) ]
public bool mkswap_U (string uuid, string device) throws Error

Warning: mkswap_U is deprecated.

create a swap partition with an explicit UUID

Note:

In new code, use mkswap instead

Create a swap partition on device with UUID uuid.

This function depends on the feature "linuxfsuuid". See also feature_available.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error