15#ifndef ZYPP_MEDIA_MOUNT_H
16#define ZYPP_MEDIA_MOUNT_H
23#include <zypp/ExternalProgram.h>
24#include <zypp-core/KVMap>
37 const std::string &target,
38 const std::string &fstype,
39 const std::string &options,
40 const int dumpfreq = 0,
41 const int passnum = 0)
114 void mount (
const std::string& source,
115 const std::string& target,
116 const std::string& filesystem,
117 const std::string& options,
127 void umount (
const std::string& path);
Execute a program and give access to its io An object of this class encapsulates the execution of an ...
std::map< std::string, std::string > Environment
For passing additional environment variables to set.
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
A map of (key,value) strings.
KVMapPolicy for KVMaps using a single char as separator (e.g.
A "struct mntent" like mount entry structure, but using std::strings.
std::string dir
file system path prefix
std::vector< MountEntry > MountEntries
A vector of mount entries.
std::string src
name of mounted file system
bool isBlockDevice() const
Returns true if the src part points to a block device in /dev.
std::string type
filesystem / mount type
int freq
dump frequency in days
int pass
pass number on parallel fsck
std::string opts
mount options
MountEntry(const std::string &source, const std::string &target, const std::string &fstype, const std::string &options, const int dumpfreq=0, const int passnum=0)