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

Class DASDDevice

source code

object --+            
    Device --+        
 StorageDevice --+    
        DiskDevice --+

A mainframe DASD.

Instance Methods [hide private]
__init__(self, device, **kwargs)
Create a DiskDevice instance.
source code
description(self) source code
getOpts(self) source code
dracutSetupArgs(self) source code

Inherited from DiskDevice: __repr__, mediaPresent, size

Inherited from DiskDevice (private): _preDestroy

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

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

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

Class Variables [hide private]
  _type = "dasd"

Inherited from DiskDevice (private): _isDisk, _partitionable

Inherited from StorageDevice: format, sysfsBlockDir, targetSize

Inherited from StorageDevice (private): _devDir, _resizable

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, device, **kwargs)

source code 
Create a DiskDevice instance.


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

Keyword Arguments:

    size -- the device's size (units/format TBD)
    major -- the device major
    minor -- the device minor
    sysfsPath -- sysfs device path
    format -- a DeviceFormat instance
    parents -- a list of required Device instances
    removable -- whether or not this is a removable device
    serial -- the ID_SERIAL_SHORT for this device
    vendor -- the manufacturer of this Device
    model -- manufacturer's device model string
    bus -- the interconnect this device uses

DiskDevices always exist.

Overrides: object.__init__
(inherited documentation)


source code 
  • @property
Overrides: DiskDevice.description


source code 
Overrides: Device.dracutSetupArgs