229. RootPart

229.1. Summary of Module Globals

List of Global Functions

  • AnyQuestionAnyButtonsDetails -

  • 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

    229.2. Global Functions

    229.2.1. AnyQuestionAnyButtonsDetails

    Function parameters

    • string headline

    • string question

    • string button_yes

    • string button_no

    • string details

    Return value

    • boolean

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

    229.2.3. GetInfoOfSelected

    Get the key what of the selected root partition.

    Function parameters

    • symbol what

    Return value

    • string

    229.2.4. MountPartitions

    Mounting root-partition; reading fstab and mounting read partitions

    Function parameters

    • string root_device_current

    Return value

    • boolean

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

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

    229.3. Global Variables

    229.4. Module Requirements

    229.4.1. Module Imports

    • Arch
    • Directory
    • FileSystems
    • FileUtils
    • Installation
    • Label
    • Linuxrc
    • Mode
    • ModuleLoading
    • Popup
    • Report
    • Stage
    • Storage
    • String
    • SuSERelease
    • Update

    229.4.2. Module Includes

    • partitioning/custom_part_dialogs.ycp