Package pyanaconda :: Package storage :: Module devices :: Class DMCryptDevice
[hide private]
[frames] | no frames]

Class DMCryptDevice

source code

object --+            
         |            
    Device --+        
             |        
 StorageDevice --+    
                 |    
          DMDevice --+
                     |
                    DMCryptDevice

A dm-crypt device

Instance Methods [hide private]
 
__init__(self, name, format=None, size=None, uuid=None, exists=None, sysfsPath='', parents=None)
Create a DMCryptDevice instance.
source code

Inherited from DMDevice: __repr__, dict, fstabSpec, getDMNode, mapName, setupPartitions, slave, status, teardownPartitions, updateSysfsPath

Inherited from DMDevice (private): _setName

Inherited from StorageDevice: __str__, checkSize, create, currentSize, destroy, disks, encrypted, formatArgs, growable, isDisk, maxSize, minSize, model, notifyKernel, packages, partedDevice, partitionable, partitioned, path, preCommitFixup, removable, resizable, resize, serial, services, setup, setupParents, teardown, vendor

Inherited from Device: __deepcopy__, addChild, dependsOn, dracutSetupArgs, isleaf, mediaPresent, removeChild, teardownParents, type, typeDescription, writeKS

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

Class Variables [hide private]
  _type = "dm-crypt"

Inherited from DMDevice: name

Inherited from DMDevice (private): _devDir

Inherited from StorageDevice: format, size, sysfsBlockDir, targetSize

Inherited from StorageDevice (private): _isDisk, _partitionable, _resizable

Inherited from Device (private): _id, _packages, _services

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, format=None, size=None, uuid=None, exists=None, sysfsPath='', parents=None)
(Constructor)

source code 
Create a DMCryptDevice instance.

Arguments:

    name -- the device name (generally a device node's basename)

Keyword Arguments:

    size -- the device's size (units/format TBD)
    sysfsPath -- sysfs device path
    format -- a DeviceFormat instance
    parents -- a list of required Device instances
    exists -- indicates whether this is an existing device

Overrides: object.__init__