15#ifndef ZYPP_MEDIA_MOUNT_H
16#define ZYPP_MEDIA_MOUNT_H
25#include <zypp-core/KVMap>
41 const int dumpfreq = 0,
42 const int passnum = 0)
115 void mount (
const std::string& source,
116 const std::string& target,
117 const std::string& filesystem,
118 const std::string& options,
128 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::string src
name of mounted file system
bool isBlockDevice() const
Returns true if the src part points to a block device in /dev.
MountEntry(std::string source, std::string target, std::string fstype, std::string options, const int dumpfreq=0, const int passnum=0)
std::string type
filesystem / mount type
std::vector< MountEntry > MountEntries
A vector of mount entries.
int freq
dump frequency in days
int pass
pass number on parallel fsck
std::string opts
mount options