#include <Dasd.h>
Inheritance diagram for storage::Dasd:

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 |
| 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 &) |
enum storage::Dasd::DasdFormat [protected] |
| Dasd::Dasd | ( | Storage *const | s, | |
| const string & | Name, | |||
| unsigned long long | Size | |||
| ) |
| Dasd::Dasd | ( | const Dasd & | rhs | ) |
| Dasd::~Dasd | ( | ) | [virtual] |
| int storage::Dasd::createPartition | ( | storage::PartitionType | type, | |
| long unsigned | start, | |||
| long unsigned | len, | |||
| string & | device, | |||
| bool | checkRelaxed = false | |||
| ) | [virtual] |
Reimplemented from storage::Disk.
| int Dasd::removePartition | ( | unsigned | nr | ) | [virtual] |
Reimplemented from storage::Disk.
| int storage::Dasd::changePartitionId | ( | unsigned | nr, | |
| unsigned | id | |||
| ) | [inline, virtual] |
Reimplemented from storage::Disk.
| int Dasd::resizePartition | ( | Partition * | p, | |
| unsigned long | newCyl | |||
| ) | [virtual] |
Reimplemented from storage::Disk.
| int Dasd::initializeDisk | ( | bool | value | ) | [virtual] |
Reimplemented from storage::Disk.
| string Dasd::fdasdText | ( | ) | const |
| string Dasd::dasdfmtText | ( | bool | doing | ) | const |
| string Dasd::dasdfmtTexts | ( | bool | single, | |
| const string & | devs | |||
| ) | [static] |
| void storage::Dasd::getCommitActions | ( | std::list< storage::commitAction * > & | l | ) | const [virtual] |
Reimplemented from storage::Disk.
| int storage::Dasd::getToCommit | ( | storage::CommitStage | stage, | |
| std::list< Container * > & | col, | |||
| std::list< Volume * > & | vol | |||
| ) | [virtual] |
Reimplemented from storage::Disk.
| int Dasd::commitChanges | ( | storage::CommitStage | stage | ) | [virtual] |
Reimplemented from storage::Disk.
| bool Dasd::detectGeometry | ( | ) | [virtual] |
Reimplemented from storage::Disk.
| virtual void storage::Dasd::print | ( | std::ostream & | s | ) | const [inline, protected, virtual] |
Reimplemented from storage::Disk.
| bool Dasd::detectPartitionsFdasd | ( | ProcPart & | ppart | ) | [protected] |
| bool Dasd::detectPartitions | ( | ProcPart & | ppart | ) | [protected, virtual] |
Reimplemented from storage::Disk.
| bool Dasd::scanFdasdLine | ( | const string & | Line, | |
| unsigned & | nr, | |||
| unsigned long & | start, | |||
| unsigned long & | csize | |||
| ) | [protected] |
| void Dasd::getGeometry | ( | SystemCmd & | cmd, | |
| unsigned long & | c, | |||
| unsigned & | h, | |||
| unsigned & | s | |||
| ) | [protected] |
| void storage::Dasd::redetectGeometry | ( | ) | [inline, protected, virtual] |
Reimplemented from storage::Disk.
| int storage::Dasd::doCreate | ( | Volume * | v | ) | [inline, protected, virtual] |
Reimplemented from storage::Disk.
| int storage::Dasd::doRemove | ( | Volume * | v | ) | [inline, protected, virtual] |
Reimplemented from storage::Disk.
| int Dasd::doFdasd | ( | ) | [protected] |
| int Dasd::doResize | ( | Volume * | v | ) | [protected, virtual] |
Reimplemented from storage::Disk.
| int storage::Dasd::doSetType | ( | Volume * | v | ) | [inline, protected, virtual] |
Reimplemented from storage::Disk.
| int storage::Dasd::doCreateLabel | ( | ) | [inline, protected, virtual] |
Reimplemented from storage::Disk.
| int Dasd::doDasdfmt | ( | ) | [protected] |
friend class Storage [friend] |
Reimplemented from storage::Disk.
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const Dasd & | d | |||
| ) | [friend] |
DasdFormat storage::Dasd::fmt [protected] |
1.5.0