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);
String related utilities and Regular expression matching.
bool isBlockDevice() const
Returns true if the src part points to a block device in /dev.
std::vector< MountEntry > MountEntries
std::string type
filesystem / mount type
Execute a program and give access to its io An object of this class encapsulates the execution of an ...
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)
int pass
pass number on parallel fsck
std::map< std::string, std::string > Environment
For passing additional environment variables to set.
std::string opts
mount options
A "struct mntent" like mount entry structure, but using std::strings.
int freq
dump frequency in days
A map of (key,value) strings.
Easy-to use interface to the ZYPP dependency resolver.
std::string src
name of mounted file system
std::string dir
file system path prefix