hardwareprofile::fs_util Namespace Reference

Classes

class  MntEntObj
class  FileSystem

Functions

def get_mtab
def get_fslist
def __cache_mtab__
def get_file_device_path

Variables

 mtab_mtime = None
list mtab_map = []

Function Documentation

def hardwareprofile::fs_util::get_mtab (   mtab = "/proc/mounts",
  vfstype = None 
)

Definition at line 84 of file fs_util.py.

def hardwareprofile::fs_util::get_fslist (  ) 

Definition at line 99 of file fs_util.py.

def hardwareprofile::fs_util::__cache_mtab__ (   mtab = "/proc/mounts"  ) 

Definition at line 102 of file fs_util.py.

def hardwareprofile::fs_util::get_file_device_path (   fname  ) 
What this function attempts to do is take a file and return:
     - the device the file is on
     - the path of the file relative to the device.
   For example:
     /boot/vmlinuz -> (/dev/sda3, /vmlinuz)
     /boot/efi/efi/redhat/elilo.conf -> (/dev/cciss0, /elilo.conf)
     /etc/fstab -> (/dev/sda4, /etc/fstab)

Definition at line 112 of file fs_util.py.


Variable Documentation

Definition at line 27 of file fs_util.py.

Definition at line 28 of file fs_util.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:34 2012 for MythTV by  doxygen 1.6.3