YaST2 Developers Documentation: Unknown YCP Module



functions
files
intro

Unknown YCP Module

Imports

  • Arch
  • FileSystems
  • Label
  • Mode
  • Partitions
  • Storage

Includes

  • partitioning/custom_part_helptexts.ycp
  • partitioning/partition_defines.ycp
  • partitioning/signatures.ycp

Local Functions

local FileSystemOptions (map org_fs_options, map fs_define) -> map

Dialog: Filesystem options @parm new_val map that contains a partition @parm file_systems filesystem definitions

Parameters:
org_fs_options
fs_define

local FstabOptions (map<string,any> old, map<string,any> new) -> map<string,any>

Dialog: Fstab options @parm old map with original partition @parm new map with changes filled in

Parameters:
old
new

local FileSystemsComboBox (map new_val, map<symbol,map> file_systems) -> term

Dialogpart: Filesystem @parm new_val map that contains a partition @parm file_systems filesystem definitions

Parameters:
new_val
file_systems
Return value:
the term contains a ComboBox with the different filesystems

local FsidComboBox (map new_val, map<symbol, map> file_systems) -> term

Dialogpart: Filesystem ID @parm new_val map that contains a partition @parm file_systems filesystem definitions

Parameters:
new_val
file_systems
Return value:
the term contains a ComboBox that allow the user to edit the filesystem ID

local SizeDlg (map new_val, integer cyl_size, boolean edit_size) -> term

Dialogpart: Size Dialog @parm new_val map that contains a partition  @parm edit_size flag

Parameters:
new_val
cyl_size
edit_size
Return value:
the term contains two TextEntries or to Labels with the start and the end cylinder of the partition in new_val

local ChangeExistingSymbolsState (list symbols, boolean what) -> void

Change the state of all symbol from the list symbols @parm symbols all symbols @parm what true or false

Parameters:
symbols
what
Return value:
nil

local GetFirstFilesystemDefinition (integer fsid, map<symbol,map> file_systems) -> map

Return a map with the filesystem definitions for the map new_val @parm new_val map that contains a partition @parm file_systems filesystem definitions

Parameters:
fsid
file_systems

local MountDlg (map new_val, list mountpoints) -> term

Dialogpart: Mount part @parm new_val map that contains a partition @parm file_systems filesystem definitions

Parameters:
new_val
mountpoints
Return value:
ComboBox with all mountpoints

local FstabAddDialog (list table_input) -> integer

Scan exiting partitions for fstab files and if one found read the mountpoints from the fstab file and build a new targetMap. Ask the user if he like to use the new or old targetMap (with or without found mountpoints) ------------------------------------ @parm targetMap all targets @parm installation !! @parm file_systems filesystems definition map

Parameters:
table_input
Return value:
targetMap new or unmodified targetMap ---------------------------------------------------------------------

local deleteAllDevPartitions (map<string, map> targetMap, string del_dev, boolean installation, boolean bsd_label) -> map

Delete all partition in targetMap from the device "del_dev" and return a new targetMap. Check if LVM partition exists on the device. Check if at least on partition is mounted.

Parameters:
targetMap
del_dev
installation
bsd_label
Return value:
targetMap

YaST2 Developers Documentation