YaST2 Developers Documentation: Unknown YCP Module

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

Parameters:
org_fs_options
fs_define
local FstabOptions (map<string,any> old, map<string,any> new) -> map<string,any>

Dialog: Fstab options

Parameters:
old
new
local FileSystemsComboBox (map new_val, map<symbol,map> file_systems) -> term

Dialogpart: Filesystem

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

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

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

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

Parameters:
fsid
file_systems
local MountDlg (map new_val, list mountpoints) -> term

Dialogpart: Mount part

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) ------------------------------------

Parameters:
table_input
Return value:
targetMap new or unmodified targetMap ---------------------------------------------------------------------
local deleteAllDevPartitions (map<string, any> disk, boolean installation, boolean bsd_label) -> boolean

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:
disk
installation
bsd_label
Return value:
targetMap