Unknown YCP Module |
This module has an unstable interface. |
local
preprocess_partition_config (list<map> xmlflex)
->
list<map>
Read partition data from XML control file
- Parameters:
-
xmlflex
- Return value:
-
flexible propsal map
local
read_partition_xml_config (map automap)
->
map
Read partition data from XML control file
- Parameters:
-
automap
- Return value:
-
flexible propsal map
local
find_matching_disk (list<string> disks, map target, map conf)
->
map
Find matching disk
- Parameters:
-
disks target conf
local
process_partition_data (string dev, map solution)
->
map
Process partition data
- Parameters:
-
dev solution
local
add_cylinder_info (map conf, map gap)
->
map
Add Cylinder Information
- Parameters:
-
conf gap
local
get_perfect_list (list ps, map g)
->
map
Compute perfect partition list
- Parameters:
-
ps Partition List from control file g Calculated Gaps
- Return value:
-
Best partition list using the gaps
Info:
If gaps are available AND ( extended partitions are possible and there are primaries left and number of requested partitions(+1) is less than all available primaries and logical slots OR extended is not possible and number of requested partitions is less than all available primaries and logical slots )
local
add_part_recursive (list ps, map g)
->
void
Recursive Adding of partitions
- Parameters:
-
ps Partition list from control file g Calculated gaps
local
normalize_gaps (list ps, map g)
->
map
Normalize Gaps
- Parameters:
-
ps g
local
distribute_space (integer rest, list weights, list added, list ps)
->
map
Distribute Spaces
- Parameters:
-
rest weights added ps
local
do_weighting (list ps, map g)
->
integer
Calculate plan weights
- Parameters:
-
ps g
local
remove_possible_partitions (map disk, map pm)
->
map
Remove partitions
- Parameters:
-
disk disk data pm partitioning as in the control file.
- Return value:
-
the new partition map with removed partitions
local
try_resize_windows (map disk)
->
map
Try resizing windows partition
- Parameters:
-
disk
local
get_gaps (integer start, integer end, map pd, list<map> part, boolean add_exist_linux)
->
list<map>
Collect gap information
- Parameters:
-
start end pd part add_exist_linux
local
get_gap_info (map disk, map pd, boolean add_exist_linux)
->
map
Collect gap information
- Parameters:
-
disk pd add_exist_linux