
functions
files
intro
|
|
Imports
Includes
- partitioning/partition_defines.ycp
Local Functions
- add_cylinder_info (map conf, map gap)
- add_part_recursive (list ps, map g)
- distribute_space (integer rest, list weights, list added, list ps)
- do_weighting (list ps, map g)
- find_matching_disk (list<string> disks, map target, map conf)
- get_gap_info (map disk, map pd, boolean add_exist_linux)
- get_gaps (integer start, integer end, map pd, list<map> part, boolean add_exist_linux)
- get_perfect_list (list ps, map g)
- normalize_gaps (list ps, map g)
- preprocess_partition_config (list<map> xmlflex)
- process_partition_data (string dev, map solution)
- read_partition_xml_config (map automap)
- remove_possible_partitions (map disk, map pm)
- try_resize_windows (map disk)
|
|
|
local preprocess_partition_config (list<map> xmlflex) -> list<map>
|
|
Read partition data from XML control file
- Parameters:
- Return value:
local read_partition_xml_config (map automap) -> map
|
|
Read partition data from XML control file
- Parameters:
- Return value:
local find_matching_disk (list<string> disks, map target, map conf) -> map
|
|
Find matching disk
- Parameters:
local process_partition_data (string dev, map solution) -> map
|
|
Process partition data
- Parameters:
local add_cylinder_info (map conf, map gap) -> map
|
|
Add Cylinder Information
- Parameters:
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 |
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:
local distribute_space (integer rest, list weights, list added, list ps) -> map
|
|
Distribute Spaces
- Parameters:
local do_weighting (list ps, map g) -> integer
|
|
Calculate plan weights
- Parameters:
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:
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:
|