YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

Imports

  • Arch
  • FileSystems
  • Installation
  • Mode
  • Partitions

Local Functions

local findExistingFstab (map<string,map> targetMap, string search_point) -> list<list>

Find and read fstab by installation. Scan existing partitions.

Parameters:
targetMap
search_point
Return value:
list with fstab data found
local scanAndReadExistingFstab (map<string,map> targetMap) -> list<list>

Scan and Read and return fstab.

Parameters:
targetMap
Return value:
list with fstab
local arePartitionsEqual (map part1, map part2) -> boolean

Only for check in installed system. Please do not use this define by installation.

Parameters:
part1
part2
local check_lvm_mount_points (string mount) -> boolean

Check lvm mount points

Parameters:
mount mount point
local check_raid_mount_points (string mount) -> boolean

Check raid mount points

Parameters:
mount mount point
local check_noauto_mount (string mount) -> boolean

Check if the noauto option is permitted for this mount point.

Parameters:
mount mount point
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:
dev
old
new
local CheckCryptOk (map new) -> map

Do all checks concerning handling of crypt fs

Parameters:
new partition map
local AddFstabToData (map<string,map> targetMap, list<map> fstab) -> list

Merge readed list fstab with targetMap

Parameters:
targetMap
fstab
Return value:
return ( [ targetMap, table_input ]