Package pyanaconda :: Package storage
[hide private]
[frames] | no frames]

Package storage

source code

Submodules [hide private]

Classes [hide private]
  StorageDiscoveryConfig
  Storage
  BlkidTab
Dictionary-like interface to blkid.tab with device path keys
  CryptTab
Dictionary-like interface to crypttab entries with map name keys
  FSSet
A class to represent a set of filesystems.
Functions [hide private]
 
storageInitialize(anaconda) source code
 
storageComplete(anaconda) source code
 
writeEscrowPackets(anaconda) source code
 
undoEncryption(storage) source code
 
getReleaseString() source code
 
findExistingRootDevices(anaconda, upgradeany=False)
upgradeany will cause it to ignore version, product and arch mismatches.
source code
 
mountExistingSystem(anaconda, rootEnt, allowDirty=None, warnDirty=None, readOnly=None)
Mount filesystems specified in rootDevice's /etc/fstab file.
source code
 
get_containing_device(path, devicetree)
Return the device that a path resides on.
source code
Variables [hide private]
  _ = lambda x:
  log = logging.getLogger("storage")
Function Details [hide private]

findExistingRootDevices(anaconda, upgradeany=False)

source code 
upgradeany will cause it to ignore version, product and
arch mismatches. Use with caution.

Return a tuple of:
    list of all upgradable root filesystems.
    list of previous installs that cannot be upgraded.

The upgradable tuple is:
    (device, "%product %version")

The non-upgradable tuple is:
    (product, version, arch, device.name, test_dict)
    The test_dict contains the results of the upgrade test for the
    product, version and arch.