|
signon
8.40
|
Handles mounting, unmounting of loopback devices. More...
#include <crypto-handlers.h>
Static Public Member Functions | |
| static bool | setupDevice (const QString &deviceName, const QString &blockDevice) |
| Mounts a block device to loopback device. | |
| static QString | findAvailableDevice () |
| Finds an available loopback device. | |
| static bool | releaseDevice (const QString &deviceName) |
| Releases a used loopback device. | |
Handles mounting, unmounting of loopback devices.
Also helps finding unused loopback devices.
Definition at line 161 of file crypto-handlers.h.
| QString LosetupHandler::findAvailableDevice | ( | ) | [static] |
Finds an available loopback device.
Definition at line 212 of file crypto-handlers.cpp.
References SystemCommandLineCallHandler::makeCall(), and SystemCommandLineCallHandler::output().
Referenced by CryptoManager::mountFileSystem(), and CryptoManager::setupFileSystem().
| bool LosetupHandler::releaseDevice | ( | const QString & | deviceName | ) | [static] |
Releases a used loopback device.
| deviceName | Loopback device to be released |
Definition at line 229 of file crypto-handlers.cpp.
References SystemCommandLineCallHandler::makeCall().
Referenced by CryptoManager::unmountFileSystem().
| bool LosetupHandler::setupDevice | ( | const QString & | deviceName, |
| const QString & | blockDevice | ||
| ) | [static] |
Mounts a block device to loopback device.
| deviceName | Loopback device to pe set up. |
| blockDevice | Block device to be loopback mounted. |
Definition at line 203 of file crypto-handlers.cpp.
References SystemCommandLineCallHandler::makeCall().
Referenced by CryptoManager::mountFileSystem(), and CryptoManager::setupFileSystem().