YaST OS Repair. Automatic error detection & repair tool for Linux. |
OSRSwap.ycp |
YaST OS Repair. Automatic error detection & repair tool for Linux. | |
This module has an unstable interface. |
Imports
Global Functions |
global
Repair (string target)
->
symbol
Create swap area on a swap partition.
- Parameters:
-
target
global
Partitions ()
->
list<string>
Get all valid swap-partitions.
- Return value:
-
The list of valid swap-partitions.
global
ValidPartitions (list<string> partition_list)
->
list<string>
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.
- Parameters:
-
partition_list
- Return value:
-
The list of partition names that were successfully added to the system as swap partitions.