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

Class X86

source code

object --+    
         |    
  Platform --+
             |
            X86

Nested Classes [hide private]
  _bootloaderClass
GRUBv2
Instance Methods [hide private]
 
__init__(self, anaconda)
Creates a new Platform object.
source code
 
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: 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_device_types = ["disk"]
  _boot_mbr_description = N_("Master Boot Record")
  _boot_descriptions = {"disk": _boot_mbr_description, "partitio...
  _disklabel_types = ["gpt", "msdos"]
  _non_linux_format_types = ["vfat", "ntfs", "hpfs"]
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, anaconda)
(Constructor)

source code 

Creates a new Platform object. This is basically an abstract class. You should instead use one of the platform-specific classes as returned by getPlatform below. Not all subclasses need to provide all the methods in this class.

Overrides: object.__init__
(inherited documentation)

setDefaultPartitioning(self)

source code 

Return the default platform-specific partitioning information.

Overrides: Platform.setDefaultPartitioning

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:
{"disk": _boot_mbr_description, "partition": Platform._boot_partition_\
description, "mdarray": Platform._boot_raid_description}