swapon_uuid


Description:

[ Version ( since = "1.0.66" ) ]
public bool swapon_uuid (string uuid) throws Error

enable swap on swap partition by UUID

This command enables swap to a swap partition with the given UUID. See swapon_device for other notes.

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

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error