configuration of raid: |
raid_lib.ycp |
|
----------------------
rd or Rd == raid device, a device like hda1 or /dev/system/usr
that belongs to a raid
Imports
Local Functions
|
Build raid dev item list e.g.: [`item (`id ("/dev/md2"), "/dev/md2", false)]
- Parameters:
-
tg raid_nr
Checks if a RAID is currently created or if it was already
- Parameters:
-
tg device what
Update Raid ComboBox
- Parameters:
-
all_raids
belongs the the partition "id" already to a raid
- Parameters:
-
tg id
belongs the the partition "id" already to a raid if YES: popup a proper Message and return(false)
- Parameters:
-
tg id
belongs the the partition "id" already to a raid? if NO: popup a proper Message and return(false)
- Parameters:
-
tg id
partition list to widget table in: [ $["fsid":142, "fstype":"Linux raid", "nr":"var", "region":[255, 16], "type":`primary], $[ "fsid":131, "fstype":"Linux native", "nr":4, "region":[271, 844], ...
- Parameters:
-
possRdList
number for /dev/mdX, 0 for /dev/md0, 1 for /dev/md1
- Parameters:
-
targetMap min
Add the main device ( "/dev/hda") to the partition map. partition = $[ "nr" : 1, "main_dev": "/dev/hda", ...... ]; Use change !!!!!!!!!
- Parameters:
-
targetMap all targets
- Return value:
-
nil
- Parameters:
-
targetMap all targets
- Return value:
-
a list with all partition that have a key raid_name != "".