178. OSRSwap

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

178.1. Authors

  • Johannes Buchhold <jbuch@suse.de>

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

    178.3. Global Functions

    178.3.1. Partitions

    Get all valid swap-partitions.

    Return value

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

    178.3.2. Repair

    Create swap area on a swap partition.

    Function parameters

    • string target

    Return value

    • symbol

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

    178.4. Global Variables

    178.5. Module Requirements

    178.5.1. Module Imports

    • Mode
    • OSRExecute
    • OSRPopup
    • Partitions
    • Storage

    178.5.2. Module Includes