Fork Vasum on GitHub Official Vasum Wiki on Tizen.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
filesystem.cpp File Reference

file system handling routines More...

#include "lxcpp/filesystem.hpp"
#include "lxcpp/exception.hpp"
#include "lxcpp/process.hpp"
#include "utils/paths.hpp"
#include "utils/exception.hpp"
#include "logger/logger.hpp"
#include <sstream>
#include <fstream>
#include <iterator>
#include <sys/mount.h>
#include <sys/stat.h>
#include <unistd.h>

Namespaces

 lxcpp
 

Functions

void lxcpp::mount (const std::string &source, const std::string &target, const std::string &filesystemtype, unsigned long mountflags, const std::string &data)
 
void lxcpp::umount (const std::string &path, const int flags)
 
bool lxcpp::isMountPoint (const std::string &path)
 
bool lxcpp::isMountPointShared (const std::string &path)
 Detect whether path is mounted as MS_SHARED. More...
 
void lxcpp::fchdir (int fd)
 
void lxcpp::chdir (const std::string &path)
 

Detailed Description

file system handling routines

Author
Jan Olszak (j.ols.nosp@m.zak@.nosp@m.samsu.nosp@m.ng.c.nosp@m.om)