|
Public Member Functions |
| | Loop (const LoopCo &d, const string &LoopDev, const string &LoopFile, bool dmcrypt, const string &dm_dev, ProcPart &ppart, SystemCmd &losetup) |
| | Loop (const LoopCo &d, const string &file, bool reuseExisting, unsigned long long sizeK, bool dmcr) |
| | Loop (const LoopCo &d, const Loop &d) |
| virtual | ~Loop () |
| const string & | loopFile () const |
| void | setLoopFile (const string &file) |
| bool | getReuse () |
| void | setReuse (bool reuseExisting) |
| void | setDelFile (bool val=true) |
| bool | removeFile () |
| bool | createFile () |
| string | lfileRealPath () const |
| void | setDmcryptDev (const string &dm_dev, bool active=true) |
| virtual void | print (std::ostream &s) const |
| virtual int | setEncryption (bool val, storage::EncryptType typ=storage::ENC_LUKS) |
| string | removeText (bool doing) const |
| string | createText (bool doing) const |
| string | formatText (bool doing) const |
| void | getInfo (storage::LoopInfo &info) const |
| bool | equalContent (const Loop &rhs) const |
| void | logDifference (const Loop &d) const |
Static Public Member Functions |
| static unsigned | major () |
| static string | loopDeviceName (unsigned num) |
| static bool | notDeleted (const Loop &l) |
Protected Member Functions |
| void | init () |
| void | checkReuse () |
| Loop & | operator= (const Loop &) |
Static Protected Member Functions |
| static void | getLoopMajor () |
Protected Attributes |
| string | lfile |
| bool | reuseFile |
| bool | delFile |
| storage::LoopInfo | info |
Static Protected Attributes |
| static unsigned | loop_major = 0 |
Friends |
| std::ostream & | operator<< (std::ostream &s, const Loop &l) |