
functions
files
intro
|
|
Imports
- Arch
- FileSystems
- Installation
- Mode
- Partitions
Local Functions
- AddFstabToData (map<string,map> targetMap, list<map> fstab)
- CheckCryptOk (map new)
- CheckOkMount (string dev, map old, map<string,any> new)
- arePartitionsEqual (map part1, map part2)
- check_crypt_fs_mount_points (string mount, boolean crypt_fs)
- check_lvm_mount_points (string mount)
- check_mount_point (map<string,map> targetMap, string dev, map part)
- check_noauto_mount (string mount)
- check_raid_mount_points (string mount)
- check_unique_label (map<string,map> targetMap, map part)
- findExistingFstab (map<string,map> targetMap, string search_point)
- scanAndReadExistingFstab (map<string,map> targetMap)
|
|
|
local findExistingFstab (map<string,map> targetMap, string search_point) -> list<list>
|
|
Find and read fstab by installation. Scan existing partitions.
@parm targetMap all targets
@parm search_point mount point where partitions can be mounted
- Parameters:
- Return value:
|
list with fstab data found |
local scanAndReadExistingFstab (map<string,map> targetMap) -> list<list>
|
|
Scan and Read and return fstab.
@parm targetMap all targets
@parm file_systems filesystem map
- Parameters:
- Return value:
local arePartitionsEqual (map part1, map part2) -> boolean
|
|
Only for check in installed system.
Please do not use this define by installation.
@parm part1 partition 1
@parm part2 partition 2
- Parameters:
local check_lvm_mount_points (string mount) -> boolean
|
|
Check lvm mount points
- Parameters:
local check_raid_mount_points (string mount) -> boolean
|
|
Check raid mount points
- Parameters:
local check_noauto_mount (string mount) -> boolean
|
|
Check if the noauto option is permitted for this mount point.
- Parameters:
local check_crypt_fs_mount_points (string mount, boolean crypt_fs) -> boolean
|
|
Check crypted mount points and return true if the mount point is ok.
- Parameters:
mount |
mount point |
crypt_fs |
boolean |
local check_unique_label (map<string,map> targetMap, map part) -> boolean
|
|
Check all label and return true if the label is unique.
- Parameters:
targetMap |
the TargetMap |
part |
partition to check |
local check_mount_point (map<string,map> targetMap, string dev, map part) -> boolean
|
|
Check all mount points and return true if the mount point is ok.
- Parameters:
targetMap |
the TargetMap |
dev |
|
part |
|
local CheckOkMount (string dev, map old, map<string,any> new) -> map
|
|
Do all checks concerning mount points, uuid, volume labels and
fstab options
- Parameters:
local CheckCryptOk (map new) -> map
|
|
Do all checks concerning handling of crypt fs
- Parameters:
local AddFstabToData (map<string,map> targetMap, list<map> fstab) -> list
|
|
Merge readed list fstab with targetMap
@parm targetMap all targets
@parm fstab readed fstab list
- Parameters:
- Return value:
|
return ( [ targetMap, table_input ]
|
|