#include <ProcMounts.h>
Public Member Functions | |
| ProcMounts () | |
| void | reload () |
| string | getMount (const string &device) const |
| string | getMount (const list< string > &devices) const |
| list< string > | getAllMounts (const string &device) const |
| list< string > | getAllMounts (const list< string > &devices) const |
| map< string, string > | allMounts () const |
| list< FstabEntry > | getEntries () const |
Protected Types | |
| typedef multimap< string, FstabEntry >::const_iterator | const_iterator |
Protected Member Functions | |
| bool | isBind (SystemCmd &mt, const string &dir) const |
Protected Attributes | |
| multimap< string, FstabEntry > | data |
typedef multimap<string, FstabEntry>::const_iterator storage::ProcMounts::const_iterator [protected] |
| storage::ProcMounts::ProcMounts | ( | ) |
References reload().
| void storage::ProcMounts::reload | ( | ) |
| string storage::ProcMounts::getMount | ( | const string & | device | ) | const |
References data.
Referenced by getMount(), storage::Volume::getMountData(), storage::Volume::mount(), and storage::Volume::umount().
| string storage::ProcMounts::getMount | ( | const list< string > & | devices | ) | const |
References getMount().
| list< string > storage::ProcMounts::getAllMounts | ( | const string & | device | ) | const |
| list< string > storage::ProcMounts::getAllMounts | ( | const list< string > & | devices | ) | const |
References getAllMounts().
| map< string, string > storage::ProcMounts::allMounts | ( | ) | const |
| list< FstabEntry > storage::ProcMounts::getEntries | ( | ) | const |
| bool storage::ProcMounts::isBind | ( | SystemCmd & | mt, | |
| const string & | dir | |||
| ) | const [protected] |
References storage::SystemCmd::getLine(), storage::SystemCmd::numLines(), storage::SystemCmd::select(), storage::splitString(), and y2mil.
Referenced by reload().
multimap<string, FstabEntry> storage::ProcMounts::data [protected] |
Referenced by allMounts(), getAllMounts(), getEntries(), getMount(), and reload().
1.5.6