CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mount.cvmfs.cc File Reference
#include <errno.h>
#include <sys/select.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <sys/wait.h>
#include <unistd.h>
#include <cstdio>
#include <cstdlib>
#include <string>
#include <vector>
#include "logging.h"
#include "options.h"
#include "platform.h"
#include "sanitizer.h"
#include "util/posix.h"
#include "util/string.h"
Include dependency graph for mount.cvmfs.cc:

Go to the source code of this file.

Functions

static void Usage (int output_dest)
 
static void AddMountOption (const string &option, vector< string > *mount_options)
 
static string MkFqrn (const string &repository)
 
static bool CheckFuse ()
 
static bool CheckStrictMount (const string &fqrn)
 
static bool CheckProxy ()
 
static bool CheckConcurrentMount (const string &fqrn, const string &workspace, string *mountpointp)
 
static bool GetCacheDir (const string &fqrn, string *cachedir)
 
static bool GetWorkspace (const string &fqrn, string *workspace)
 
static bool WaitForReload (const std::string &mountpoint)
 
static bool GetCvmfsUser (string *cvmfs_user)
 
static std::string GetCvmfsBinary ()
 
int main (int argc, char **argv)
 

Variables

BashOptionsManager options_manager_
 

Function Documentation

static void AddMountOption ( const string &  option,
vector< string > *  mount_options 
)
static

Definition at line 47 of file mount.cvmfs.cc.

Referenced by main().

Here is the caller graph for this function:

static bool CheckConcurrentMount ( const string &  fqrn,
const string &  workspace,
string *  mountpointp 
)
static

Definition at line 135 of file mount.cvmfs.cc.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static bool CheckFuse ( )
static

Definition at line 70 of file mount.cvmfs.cc.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static bool CheckProxy ( )
static

Definition at line 124 of file mount.cvmfs.cc.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static bool CheckStrictMount ( const string &  fqrn)
static

Definition at line 94 of file mount.cvmfs.cc.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static bool GetCacheDir ( const string &  fqrn,
string *  cachedir 
)
static

Definition at line 157 of file mount.cvmfs.cc.

Referenced by GetWorkspace(), and main().

Here is the call graph for this function:

Here is the caller graph for this function:

static std::string GetCvmfsBinary ( )
static

Definition at line 240 of file mount.cvmfs.cc.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static bool GetCvmfsUser ( string *  cvmfs_user)
static

Definition at line 228 of file mount.cvmfs.cc.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static bool GetWorkspace ( const string &  fqrn,
string *  workspace 
)
static

Definition at line 181 of file mount.cvmfs.cc.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int main ( int  argc,
char **  argv 
)

Definition at line 266 of file mount.cvmfs.cc.

Here is the call graph for this function:

static string MkFqrn ( const string &  repository)
static

Definition at line 54 of file mount.cvmfs.cc.

Referenced by CheckStrictMount(), and main().

Here is the call graph for this function:

Here is the caller graph for this function:

static void Usage ( int  output_dest)
static

Definition at line 34 of file mount.cvmfs.cc.

static bool WaitForReload ( const std::string &  mountpoint)
static

Definition at line 199 of file mount.cvmfs.cc.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation