#include <EtcRaidtab.h>
Public Member Functions | |
| EtcRaidtab (const string &prefix="") | |
| ~EtcRaidtab () | |
| void | updateEntry (unsigned num, const std::list< string > &entries, const string &, const std::list< string > &devs) |
| void | removeEntry (unsigned num) |
Protected Member Functions | |
| void | updateMdadmFile () |
| void | updateRaidtabFile () |
| void | buildRaidtabMap () |
| void | buildMdadmMap () |
Protected Attributes | |
| Regex * | whitespace |
| Regex * | comment |
| string | rtabname |
| string | mdadmname |
| int | mdadm_dev_line |
| std::map< unsigned, entry > | mtab |
| std::map< unsigned, entry > | rtab |
| AsciiFile * | raidtab |
| AsciiFile * | mdadm |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const entry &v) |
Classes | |
| struct | entry |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6