Package pyanaconda :: Module platform :: Class EFI
[hide private]
[frames] | no frames]

Class EFI

source code

object --+    
         |    
  Platform --+
             |
            EFI

Nested Classes [hide private]
  _bootloaderClass
TODO:
Instance Methods [hide private]
 
setDefaultPartitioning(self)
Return the default platform-specific partitioning information.
source code
 
weight(self, fstype=None, mountpoint=None)
Given an fstype (as a string) or a mountpoint, return an integer for the base sorting weight.
source code

Inherited from Platform: __init__, bestDiskLabelType, bootStage1ConstraintDict, defaultDiskLabelType, diskLabelTypes, minimumSector, packages, requiredDiskLabelType

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _boot_stage1_format_types = ["efi"]
  _boot_stage1_device_types = ["partition", "mdarray"]
  _boot_stage1_raid_levels = [mdraid.RAID1]
  _boot_stage1_raid_metadata = ["1.0"]
  _boot_stage1_raid_member_types = ["partition"]
  _boot_stage1_mountpoints = ["/boot/efi"]
  _boot_efi_description = N_("EFI System Partition")
  _boot_descriptions = {"partition": _boot_efi_description, "mda...
  _disklabel_types = ["gpt"]
  _non_linux_format_types = ["vfat", "ntfs", "hpfs"]
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setDefaultPartitioning(self)

source code 

Return the default platform-specific partitioning information.

Overrides: Platform.setDefaultPartitioning
(inherited documentation)

weight(self, fstype=None, mountpoint=None)

source code 

Given an fstype (as a string) or a mountpoint, return an integer for the base sorting weight. This is used to modify the sort algorithm for partition requests, mainly to make sure bootable partitions and /boot are placed where they need to be.

Overrides: Platform.weight
(inherited documentation)

Class Variable Details [hide private]

_boot_descriptions

Value:
{"partition": _boot_efi_description, "mdarray": Platform._boot_raid_de\
scription}