YaST2 Developers Documentation: Unknown YCP Module



functions
files
intro

Unknown YCP Module

Imports

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

Global Functions

global FileSystemOptions (map org_fs_options, map fs_define)

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

Parameters:
org_fs_options
fs_define

global FstabOptions (map old, map new) -> void

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

Parameters:
old
new

global FileSystemsComboBox (map new_val, 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

global FsidComboBox (map new_val, 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

global 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

global ChangeExistingSymbolsState (list symbols, boolean what)

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

global GetFirstFilesystemDefinition (integer fsid, 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

global 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

global FstabAddDialog (list table_input)

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

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