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 "mythcorecontext.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"
 

Functions

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

Variables

static const std::string kSuperOptDev { "dev=" }
 
static const QString LOC = QString("MMUnix:")
 

Macro Definition Documentation

◆ MNTTYPE_UDF

#define MNTTYPE_UDF   "udf"

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

◆ MNTTYPE_AUTO

#define MNTTYPE_AUTO   "auto"

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

◆ MNTTYPE_SUPERMOUNT

#define MNTTYPE_SUPERMOUNT   "supermount"

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

Function Documentation

◆ fstabError()

static void fstabError ( const QString &  methodName)
static

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

Referenced by MediaMonitorUnix::CheckFileSystemTable().

◆ statError()

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

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

Referenced by MediaMonitorUnix::AddDevice().

◆ LookupModel()

static void LookupModel ( MythMediaDevice device)
static

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

Referenced by MediaMonitorUnix::AddDevice().

Variable Documentation

◆ kSuperOptDev

const std::string kSuperOptDev { "dev=" }
static

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

Referenced by MediaMonitorUnix::AddDevice().

◆ LOC

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