|
Public Member Functions |
| | Dasd (Storage *const s, const string &Name, unsigned long long Size) |
| | Dasd (const Dasd &rhs) |
| virtual | ~Dasd () |
| int | createPartition (storage::PartitionType type, long unsigned start, long unsigned len, string &device, bool checkRelaxed=false) |
| int | removePartition (unsigned nr) |
| int | changePartitionId (unsigned nr, unsigned id) |
| int | resizePartition (Partition *p, unsigned long newCyl) |
| int | initializeDisk (bool value) |
| string | fdasdText () const |
| string | dasdfmtText (bool doing) const |
| void | getCommitActions (std::list< storage::commitAction * > &l) const |
| int | getToCommit (storage::CommitStage stage, std::list< Container * > &col, std::list< Volume * > &vol) |
| int | commitChanges (storage::CommitStage stage) |
| bool | detectGeometry () |
Static Public Member Functions |
| static string | dasdfmtTexts (bool single, const string &devs) |
Protected Types |
| enum | DasdFormat { DASDF_NONE,
DASDF_LDL,
DASDF_CDL
} |
Protected Member Functions |
| virtual void | print (std::ostream &s) const |
| virtual Container * | getCopy () const |
| bool | detectPartitionsFdasd (ProcPart &ppart) |
| bool | detectPartitions (ProcPart &ppart) |
| bool | checkFdasdOutput (SystemCmd &Cmd, ProcPart &ppart) |
| bool | scanFdasdLine (const string &Line, unsigned &nr, unsigned long &start, unsigned long &csize) |
| void | getGeometry (SystemCmd &cmd, unsigned long &c, unsigned &h, unsigned &s) |
| void | redetectGeometry () |
| int | doCreate (Volume *v) |
| int | doRemove (Volume *v) |
| int | doFdasd () |
| int | doResize (Volume *v) |
| int | doSetType (Volume *v) |
| int | doCreateLabel () |
| int | doDasdfmt () |
| Dasd & | operator= (const Dasd &rhs) |
Protected Attributes |
| DasdFormat | fmt |
Friends |
| class | Storage |
| std::ostream & | operator<< (std::ostream &, const Dasd &) |