279. StorageFields

Expert Partitioner

279.1. Authors

  • Arvin Schnell <aschnell@suse.de>

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

    279.3. Global Functions

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

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

    279.3.3. PredicateAll

    Predicate function for Table and TableContents.

    Function parameters

    • map disk

    • map partition

    Return value

    • symbol

    279.3.4. PredicateDevice

    Predicate function for Table and TableContents.

    Function parameters

    • map disk

    • map partition

    • list<string> devices

    Return value

    • symbol

    279.3.5. PredicateDiskDevice

    Predicate function for Table and TableContents.

    Function parameters

    • map disk

    • map partition

    • list<string> disk_devices

    Return value

    • symbol

    279.3.6. PredicateDiskType

    Predicate function for Table and TableContents.

    Function parameters

    • map disk

    • map partition

    • list<symbol> disk_types

    Return value

    • symbol

    279.3.7. PredicateUsedByDevice

    Predicate function for Table and TableContents.

    Function parameters

    • map disk

    • map partition

    • list<string> devices

    Return value

    • symbol

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

    279.4. Global Variables

    279.5. Module Requirements

    279.5.1. Module Imports

    • Arch
    • FileSystems
    • HTML
    • Integer
    • Mode
    • Partitions
    • Storage

    279.5.2. Module Includes