YaST2 Developers Documentation: Unknown YCP Module



functions
files
intro

Unknown YCP Module

Imports

  • FileSystems
  • Mode
  • Partitions

Global Functions

global findExistingFstab (map targetMap, map file_systems, string search_point) -> list

Find and read fstab by installation. Scan existing partitions. @parm targetMap all targets @parm file_systems filesystems definition map @parm search_point mount point where partitions can be mounted

Parameters:
targetMap
file_systems
search_point
Return value:
list with fstab if only one existing fstab is found

global scanAndReadExistingFstab (map targetMap, map file_systems) -> list

Scan and Read and return fstab. @parm targetMap all targets @parm file_systems filesystem map

Parameters:
targetMap
file_systems
Return value:
list with fstab

global 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:
part1
part2

global check_lvm_mount_points (string mount) -> boolean

Check lvm mount points

Parameters:
mount mount point

global check_raid_mount_points (string mount) -> boolean

Check raid mount points

Parameters:
mount mount point

global check_noauto_mount (string mount) -> boolean

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

Parameters:
mount mount point

global 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

global check_unique_label (map targetMap, map part) -> boolean

Check all label and return true if the label is unique.

Parameters:
targetMap the TargetMap
part partition to check

global check_mount_point (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

global CheckOkMount (string dev, map old, map new) -> map

Do all checks concerning mount points, uuid, volume labels and fstab options

Parameters:
dev
old
new

global CheckCryptOk (map new) -> map

Do all checks concerning handling of crypt fs

Parameters:
new partition map

global AddFstabToData (map targetMap, list fstab) -> list

Merge readed list fstab with targetMap @parm targetMap all targets @parm fstab readed fstab list

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

YaST2 Developers Documentation