#include <Blkid.h>
Public Member Functions | |
| Blkid () | |
| Blkid (const string &device) | |
| bool | getEntry (const string &device, Entry &entry) const |
Protected Types | |
| typedef map< string, Entry > ::const_iterator | const_iterator |
Protected Member Functions | |
| void | parse (const vector< string > &lines) |
Protected Attributes | |
| map< string, Entry > | data |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const Entry &entry) |
Classes | |
| struct | Entry |
typedef map<string, Entry>::const_iterator storage::Blkid::const_iterator [protected] |
| storage::Blkid::Blkid | ( | ) |
References BLKIDBIN, parse(), storage::SystemCmd::retcode(), and storage::SystemCmd::stdout().
| storage::Blkid::Blkid | ( | const string & | device | ) |
References BLKIDBIN, parse(), storage::quote(), storage::SystemCmd::retcode(), and storage::SystemCmd::stdout().
| bool storage::Blkid::getEntry | ( | const string & | device, | |
| Entry & | entry | |||
| ) | const |
References data.
Referenced by storage::Volume::findBlkid(), and storage::MdPartCo::hasFileSystem().
| void storage::Blkid::parse | ( | const vector< string > & | lines | ) | [protected] |
References storage::BTRFS, data, storage::EXT2, storage::EXT3, storage::EXT4, storage::Blkid::Entry::fs_label, storage::Blkid::Entry::fs_type, storage::Blkid::Entry::fs_uuid, storage::HFS, storage::HFSPLUS, storage::Blkid::Entry::is_fs, storage::Blkid::Entry::is_luks, storage::Blkid::Entry::is_lvm, storage::JFS, storage::Blkid::Entry::luks_uuid, storage::makeMap(), storage::NTFS, storage::REISERFS, storage::splitString(), storage::SWAP, storage::VFAT, storage::XFS, and y2mil.
Referenced by Blkid().
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const Entry & | entry | |||
| ) | [friend] |
map<string, Entry> storage::Blkid::data [protected] |
Referenced by getEntry(), and parse().
1.5.6