YaST2 Developers Documentation: yast2-storage

yast2-storage

StorageFields.ycp
Expert Partitioner
  • Arvin Schnell

This module has an unstable interface.

Imports

  • Directory
  • FileSystems
  • HTML
  • Integer
  • Mode
  • Partitions
  • Region
  • Storage
  • StorageIcons
  • String

Global Functions

global IterateTargetMap (map<string, map> target_map) -> void

Call callback for every disk of target_map in a well defined sorted order.

Parameters:
target_map
global PredicateAll (map disk, map partition) -> symbol

Predicate function for Table and TableContents.

Parameters:
disk
partition
global PredicateDiskType (map disk, map partition, list<symbol> disk_types) -> symbol

Predicate function for Table and TableContents.

Parameters:
disk
partition
disk_types
global PredicateDiskDevice (map disk, map partition, list<string> disk_devices) -> symbol

Predicate function for Table and TableContents.

Parameters:
disk
partition
disk_devices
global PredicateDevice (map disk, map partition, list<string> devices) -> symbol

Predicate function for Table and TableContents.

Parameters:
disk
partition
devices
global PredicateUsedByDevice (map disk, map partition, list<string> devices) -> symbol

Predicate function for Table and TableContents.

Parameters:
disk
partition
devices
global PredicateMountpoint (map disk, map partition) -> symbol

Predicate function for Table and TableContents.

Parameters:
disk
partition
global TableContents (list<symbol> fields, map<string, map> target_map) -> list<term>

The predicate function determines whether the disk/partition is included. The predicate function takes two arguments, disk and partition. For disks predicate is called with the partitions set to nil.

Parameters:
fields
target_map
global OverviewContents (list<symbol> fields, map<string, map> target_map, string device) -> string

The device must be the device entry in the target-map, e.g. "/dev/sda1", not something like "LABEL=test".

Parameters:
fields
target_map
device