Trees | Indices | Help |
|
---|
|
File device.
This class represents the a file storage backend device.
The unique_id for the file device is a (file_driver, file_path) tuple.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
boolean |
|
||
|
|||
|
|||
boolean |
|
||
|
|||
Inherited from Inherited from |
|
|||
bdev.FileStorage |
|
|
|||
Inherited from |
|
Initalizes a file device backend.
|
Assemble the device. Checks whether the file device exists, raises BlockDeviceError otherwise.
|
Shutdown the device. This is a no-op for the file type, as we don't deactivate the file on shutdown.
|
Make the device ready for I/O. This is a no-op for the file type.
|
Notifies that the device will no longer be used for I/O. This is a no-op for the file type.
|
Remove the file backing the block device.
|
Renames the file.
|
Grow the file
|
Attach to an existing file. Check if this file already exists.
|
Return the actual disk size.
Note: the device needs to be active when this is called |
Create a new file.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Dec 20 13:26:39 2010 | http://epydoc.sourceforge.net |