258. StorageFields

Expert Partitioner

258.1. Authors

  • Arvin Schnell <aschnell@suse.de>

258.2. Summary of Module Globals

List of Global Functions

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

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

  • PredicateAll - Predicate function for Table and TableContents.

  • PredicateDevice - Predicate function for Table and TableContents.

  • PredicateDiskDevice - Predicate function for Table and TableContents.

  • PredicateDiskType - Predicate function for Table and TableContents.

  • PredicateUsedByDevice - Predicate function for Table and TableContents.

  • TableContents - 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.

List of Global Variables

    258.3. Global Functions

    258.3.1. IterateTargetMap

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

    Function parameters

    • map<string, map> target_map

    Return value

    • void

    258.3.2. OverviewContents

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

    Function parameters

    • list<symbol> fields

    • map<string, map> target_map

    • string device

    Return value

    • string

    258.3.3. PredicateAll

    Predicate function for Table and TableContents.

    Function parameters

    • map disk

    • map partition

    Return value

    • symbol

    258.3.4. PredicateDevice

    Predicate function for Table and TableContents.

    Function parameters

    • map disk

    • map partition

    • list<string> devices

    Return value

    • symbol

    258.3.5. PredicateDiskDevice

    Predicate function for Table and TableContents.

    Function parameters

    • map disk

    • map partition

    • list<string> disk_devices

    Return value

    • symbol

    258.3.6. PredicateDiskType

    Predicate function for Table and TableContents.

    Function parameters

    • map disk

    • map partition

    • list<symbol> disk_types

    Return value

    • symbol

    258.3.7. PredicateUsedByDevice

    Predicate function for Table and TableContents.

    Function parameters

    • map disk

    • map partition

    • list<string> devices

    Return value

    • symbol

    258.3.8. TableContents

    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.

    Function parameters

    • list<symbol> fields

    • map<string, map> target_map

    Return value

    • list<term>

    258.4. Global Variables

    258.5. Module Requirements

    258.5.1. Module Imports

    • FileSystems
    • HTML
    • Integer
    • Mode
    • Partitions
    • Storage
    • String

    258.5.2. Module Includes