213. RootPart

213.1. Summary of Module Globals

List of Global Functions

  • FindRootPartitions - Find all valid root partitions and place the result in rootPartitions. The partitions are mounted and unmounted again (to Installation::destdir). Loads a bunch of kernel modules.

  • GetInfoOfSelected - Get the key what of the selected root partition.

  • MountPartitions - Mounting root-partition; reading fstab and mounting read partitions

  • SetSelectedToValid - Set the selected root partition to some valid one. Only make sense if the number of valid root partition is one.

  • UnmountPartitions - Unmount all mounted partitions, deactivate swaps, detach loopback devices. Uses list activated to make actions in reverse order.

List of Global Variables

    213.2. Global Functions

    213.2.1. FindRootPartitions

    Find all valid root partitions and place the result in rootPartitions. The partitions are mounted and unmounted again (to Installation::destdir). Loads a bunch of kernel modules.

    Return value

    • void

    213.2.2. GetInfoOfSelected

    Get the key what of the selected root partition.

    Function parameters

    • symbol what

    Return value

    • string

    213.2.3. MountPartitions

    Mounting root-partition; reading fstab and mounting read partitions

    Function parameters

    • string root_device_current

    Return value

    • boolean

    213.2.4. SetSelectedToValid

    Set the selected root partition to some valid one. Only make sense if the number of valid root partition is one.

    Return value

    • void

    213.2.5. UnmountPartitions

    Unmount all mounted partitions, deactivate swaps, detach loopback devices. Uses list activated to make actions in reverse order.

    Function parameters

    • boolean keep_in_target

    Return value

    • void

    213.3. Global Variables

    213.4. Module Requirements

    213.4.1. Module Imports

    • Directory
    • FileSystems
    • FileUtils
    • Keyboard
    • Linuxrc
    • Mode
    • ModuleLoading
    • Popup
    • Storage
    • SuSERelease
    • Update

    213.4.2. Module Includes

    • partitioning/custom_part_dialogs.ycp
    • partitioning/custom_part_helptexts.ycp
    • partitioning/partition_defines.ycp