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... | |
Image utility functions declaration.