YaST2 Developers Documentation: Configuration of raid



functions
files
intro

Configuration of raid

raid_ui.ycp
User interface functions.
All user interface functions for RAID.

Imports

  • FileSystems
  • Label
  • Partitions
  • Popup
  • Storage
  • Wizard

Includes

  • partitioning/custom_part_lib.ycp
  • partitioning/partition_defines.ycp
  • partitioning/raid_lib.ycp

Local Functions

local AbortDialog () -> symbol

AbortDialog

local InitMainDevRaid () -> void

Initialize RAID creation.

local ChooseRaidTypeHelp () -> string

Help for RaidTypeDialog

local get_choose_raid_type_contents (string raid, symbol what) -> term

Contents for dialog ChooseRaidType

Parameters:
raid
what

local RaidMultipathAuto () -> symbol

RaidMultipathAuto Dialog

local ChooseRaidType (symbol what) -> symbol

ChooseRaidType Dialog @parm what -> `settings or `wizard

Parameters:
what

local RaidDevicesHelp () -> string

Help for RaidDevices Dialog

local CannotEditExistingRaid (string dev) -> void

Popup to display an error when changing an existing raid. in dev: device name of the raid device

Parameters:
dev

local get_raid_devices_content (symbol what, string current_raid_text, list all_raids, string size_md) -> term

partition add partition widget table.

Parameters:
what
current_raid_text
all_raids
size_md

local RaidExpertDlgHelp () -> string

RaidExpertDlgHelp

local RaidExpertDlg (symbol what, string device, map<string,any> cur_raid, boolean installation, map<symbol,map> file_systems, boolean edit_raid_type, map<string,map> targetMap) -> map<string,any>

raidExpertDlg dialog edit expert options

Parameters:
what
device
cur_raid
installation
file_systems
edit_raid_type
targetMap

local RaidDevices (symbol what) -> symbol

AddRaidDevices dialog Choose free partitions and add them to the raid. additionally you can edit the raid options like chunk size in - out:

Parameters:
what

local RaidExpertWizard () -> symbol

RaidExpertWizard


YaST2 Developers Documentation