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

Class BTRFSSubVolumeDevice

source code

object --+            
         |            
    Device --+        
             |        
 StorageDevice --+    
                 |    
       BTRFSDevice --+
                     |
                    BTRFSSubVolumeDevice

A btrfs subvolume pseudo-device.

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
Passing None or no name means auto-generate one like btrfs.%d
source code
 
volume(self) source code
 
setupParents(self, orig=False)
Run setup method of all parent devices.
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, 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 subvolume"

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)

volume(self)

source code 
Decorators:
  • @property

setupParents(self, orig=False)

source code 

Run setup method of all parent devices.

Overrides: Device.setupParents

_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)