Trees | Indices | Help |
|
---|
|
Simple class for managing a cache of block device information.
|
|||
Inherited from |
|
|||
str |
|
||
None |
|
||
None |
|
|
|||
_DEV_PREFIX = "/dev/"
|
|||
_ROOT_DIR = RUN_DIR+ "/bdev-cache"
|
|
|||
Inherited from |
|
Converts a /dev/name path to the cache file name. This replaces slashes with underscores and strips the /dev prefix. It then returns the full path to the cache file.
|
Updates the cache information for a given device.
|
Remove data for a dev_path. This is just a wrapper over utils.io.RemoveFile with a converted path name and logging.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Dec 30 13:42:35 2015 | http://epydoc.sourceforge.net |