YaST OS Repair. Automatic error detection & repair tool for Linux.
List of Global Functions
Partitions - Get all valid swap-partitions.
Repair - Create swap area on a swap partition.
ValidPartitions - Returns a list of names (e.g. ["/dev/hda1", "/dev/hdb3"]) of all partitions that can be mounted to the system as swap out of the specified list.
List of Global Variables
Get all valid swap-partitions.
Return value
list<string> - The list of valid swap-partitions.
Create swap area on a swap partition.
Function parameters
string target
Return value
symbol
Returns a list of names (e.g. ["/dev/hda1", "/dev/hdb3"]) of all partitions that can be mounted to the system as swap out of the specified list.
Function parameters
list<string> partition_list
Return value
list<string> - The list of partition names that were successfully added to the system as swap partitions.