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

Class SparseFileDevice

source code

object --+            
         |            
    Device --+        
             |        
 StorageDevice --+    
                 |    
        FileDevice --+
                     |
                    SparseFileDevice

A sparse file on a filesystem. This exists for sparse disk images.

Instance Methods [hide private]
 
_create(self, w)
Create a sparse file.
source code

Inherited from FileDevice: __init__, fstabSpec, path

Inherited from FileDevice (private): _destroy, _preSetup, _preTeardown

Inherited from StorageDevice: __repr__, __str__, checkSize, create, currentSize, destroy, dict, disks, encrypted, formatArgs, growable, isDisk, maxSize, minSize, model, notifyKernel, packages, partedDevice, partitionable, partitioned, preCommitFixup, removable, resizable, resize, serial, services, setup, setupParents, status, teardown, updateSysfsPath, 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 = "sparse file"

Inherited from FileDevice (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]

_create(self, w)

source code 

Create a sparse file.

Overrides: StorageDevice._create