183. OSRSwap

YaST OS Repair. Automatic error detection & repair tool for Linux.

183.1. Summary of Module Globals

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

    183.2. Global Functions

    183.2.1. Partitions

    Get all valid swap-partitions.

    Return value

    • list<string> - The list of valid swap-partitions.

    183.2.2. Repair

    Create swap area on a swap partition.

    Function parameters

    • string target

    Return value

    • symbol

    183.2.3. 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.

    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.

    183.3. Global Variables

    183.4. Module Requirements

    183.4.1. Module Imports

    • Mode
    • OSRExecute
    • OSRPopup
    • Partitions
    • Storage

    183.4.2. Module Includes