mkswap
Description:
create a swap partition
Create a Linux swap partition on device
.
The option arguments label
and uuid
allow you to set the label and/or UUID of the new swap partition.
Parameters:
this |
A GuestfsSession object |
optargs |
a GuestfsMkswap containing optional arguments |
Returns:
true on success, false on error |