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

Image utility functions declaration. More...

Go to the source code of this file.

Namespaces

 utils
 

Functions

bool utils::getFreeLoopDevice (std::string &ret)
 Returns string with first free loop device. More...
 
bool utils::mountImage (const std::string &image, const std::string &loopdev, const std::string &path)
 Mount an ext4 image from file on a given path by using a loop device. More...
 
bool utils::umountImage (const std::string &path, const std::string &loopdev)
 Umounts previously mounted image. More...
 
bool utils::copyImageContents (const std::string &img, const std::string &dst)
 Mounts an image and copies its contents to dst directory. More...
 

Detailed Description

Image utility functions declaration.

Author
Lukasz Kostyra (l.kos.nosp@m.tyra.nosp@m.@sams.nosp@m.ung..nosp@m.com)