MythTV
master
|
Classes | |
class | FileSystem |
class | MntEntObj |
Functions | |
def | get_mtab (mtab="/proc/mounts", vfstype=None) |
def | get_fslist () |
def | __cache_mtab__ (mtab="/proc/mounts") |
def | get_file_device_path (fname) |
Variables | |
mtab_mtime = None | |
list | mtab_map = [] |
def hardwareprofile.fs_util.get_mtab | ( | mtab = "/proc/mounts" , |
|
vfstype = None |
|||
) |
Definition at line 85 of file fs_util.py.
Referenced by hardwareprofile.fs_util.get_file_device_path(), and hardwareprofile.fs_util.get_fslist().
def hardwareprofile.fs_util.get_fslist | ( | ) |
Definition at line 100 of file fs_util.py.
Referenced by hardwareprofile.smolt.get_file_systems().
def hardwareprofile.fs_util.__cache_mtab__ | ( | mtab = "/proc/mounts" | ) |
Definition at line 103 of file fs_util.py.
Referenced by hardwareprofile.fs_util.get_mtab().
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 113 of file fs_util.py.
hardwareprofile.fs_util.mtab_mtime = None |
Definition at line 28 of file fs_util.py.
list hardwareprofile.fs_util.mtab_map = [] |
Definition at line 29 of file fs_util.py.