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

Class BTRFSVolumeDevice

source code

object --+            
         |            
    Device --+        
             |        
 StorageDevice --+    
                 |    
       BTRFSDevice --+
                     |
                    BTRFSVolumeDevice

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
Passing None or no name means auto-generate one like btrfs.%d
source code
 
_setFormat(self, format)
Set the Device's format.
source code
 
_addDevice(self, device)
Add a new device to this volume.
source code
 
_removeDevice(self, device)
Remove a device from the volume.
source code
 
_addSubVolume(self, vol) source code
 
_removeSubVolume(self, name) source code
 
listSubVolumes(self) source code
 
createSubVolumes(self, intf=None) source code
 
removeSubVolume(self, name) source code
 
_create(self, w)
Perform device-specific create operations.
source code
 
_destroy(self)
Perform device-specific destruction operations.
source code

Inherited from BTRFSDevice: path, status, updateSysfsPath

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

Inherited from Device: __deepcopy__, addChild, dependsOn, dracutSetupArgs, isleaf, mediaPresent, 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 = "btrfs volume"

Inherited from BTRFSDevice (private): _packages

Inherited from StorageDevice: format, size, sysfsBlockDir, targetSize

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

Inherited from Device (private): _id, _services

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 

Passing None or no name means auto-generate one like btrfs.%d

Overrides: object.__init__
(inherited documentation)

_setFormat(self, format)

source code 

Set the Device's format.

Overrides: StorageDevice._setFormat

_addDevice(self, device)

source code 
Add a new device to this volume.

XXX This is for use by device probing routines and is not
    intended for modification of the volume.

_removeDevice(self, device)

source code 

Remove a device from the volume.

This is for cases like clearing of preexisting partitions.

_create(self, w)

source code 

Perform device-specific create operations.

Overrides: StorageDevice._create
(inherited documentation)

_destroy(self)

source code 

Perform device-specific destruction operations.

Overrides: StorageDevice._destroy
(inherited documentation)