Unknown YCP Module |
This module has an unstable interface. |
Read partition data from XML control file
- Parameters:
-
xmlflex
- Return value:
-
flexible propsal map
Find matching disk find_matching_disk( ["/dev/sda"], Storage::GetTargetMap(), AutoTargetMap["/dev/sda"] )
- Parameters:
-
disks target conf
Process partition data
- Parameters:
-
dev solution
Add Cylinder Information
- Parameters:
-
conf gap
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 )
Recursive Adding of partitions
- Parameters:
-
ps Partition list from control file g Calculated gaps
Normalize Gaps
- Parameters:
-
ps g
Distribute Spaces
- Parameters:
-
rest weights added ps
Calculate plan weights
- Parameters:
-
ps g
Remove partitions
- Parameters:
-
disk disk data pm partitioning as in the control file.
- Return value:
-
the new partition map with removed partitions
Try resizing windows partition
- Parameters:
-
disk
Collect gap information
- Parameters:
-
start end pd part add_exist_linux
Collect gap information get_gap_info( Storage::GetTargetMap()["/dev/sda"], AutoTargetMap["/dev/sda"], false )
- Parameters:
-
disk pd add_exist_linux