MythTV  master
Macros | Functions | Variables
mediamonitor-unix.cpp File Reference
#include "config.h"
#include <cstdio>
#include <dirent.h>
#include <unistd.h>
#include <fcntl.h>
#include <fstab.h>
#include <sys/file.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <sys/param.h>
#include <iostream>
#include <QList>
#include <QTextStream>
#include <QDir>
#include <QFile>
#include "mythmediamonitor.h"
#include "mediamonitor-unix.h"
#include "mythconfig.h"
#include "mythcdrom.h"
#include "mythhdd.h"
#include "mythlogging.h"
#include "mythsystemlegacy.h"
#include "exitcodes.h"
Include dependency graph for mediamonitor-unix.cpp:

Go to the source code of this file.

Macros

#define MNTTYPE_UDF   "udf"
 
#define MNTTYPE_AUTO   "auto"
 
#define MNTTYPE_SUPERMOUNT   "supermount"
 
#define SUPER_OPT_DEV   "dev="
 

Functions

static void fstabError (const QString &methodName)
 
static void statError (const QString &methodName, const QString &devPath)
 
static void LookupModel (MythMediaDevice *device)
 

Variables

static const QString LOC = QString("MMUnix:")
 

Macro Definition Documentation

◆ MNTTYPE_UDF

#define MNTTYPE_UDF   "udf"

Definition at line 63 of file mediamonitor-unix.cpp.

◆ MNTTYPE_AUTO

#define MNTTYPE_AUTO   "auto"

Definition at line 67 of file mediamonitor-unix.cpp.

◆ MNTTYPE_SUPERMOUNT

#define MNTTYPE_SUPERMOUNT   "supermount"

Definition at line 71 of file mediamonitor-unix.cpp.

◆ SUPER_OPT_DEV

#define SUPER_OPT_DEV   "dev="

Definition at line 73 of file mediamonitor-unix.cpp.

Function Documentation

◆ fstabError()

static void fstabError ( const QString &  methodName)
static

Definition at line 98 of file mediamonitor-unix.cpp.

Referenced by MediaMonitorUnix::CheckFileSystemTable().

◆ statError()

static void statError ( const QString &  methodName,
const QString &  devPath 
)
static

Definition at line 106 of file mediamonitor-unix.cpp.

Referenced by MediaMonitorUnix::AddDevice().

◆ LookupModel()

static void LookupModel ( MythMediaDevice device)
static

Definition at line 483 of file mediamonitor-unix.cpp.

Referenced by MediaMonitorUnix::AddDevice().

Variable Documentation

◆ LOC

const QString LOC = QString("MMUnix:")
static