[ 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
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.
this |
A GuestfsSession object |
true on success, false on error |