#include <DmPartCo.h>

Public Member Functions | |
| DmPartCo (Storage *const s, const string &Name, storage::CType t, ProcPart &ppart) | |
| DmPartCo (const DmPartCo &rhs) | |
| virtual | ~DmPartCo () |
| unsigned long long | sizeK () const |
| unsigned | isValid () const |
| const string & | labelName () const |
| const string & | udevPath () const |
| const std::list< string > & | udevId () const |
| unsigned | numPartitions () const |
| void | setUdevData (const string &id) |
| int | createPartition (storage::PartitionType type, long unsigned start, long unsigned len, string &device, bool checkRelaxed=false) |
| int | createPartition (long unsigned len, string &device, bool checkRelaxed=false) |
| int | createPartition (storage::PartitionType type, string &device) |
| int | removePartition (unsigned nr) |
| int | changePartitionId (unsigned nr, unsigned id) |
| int | forgetChangePartitionId (unsigned nr) |
| int | changePartitionArea (unsigned nr, unsigned long start, unsigned long size, bool checkRelaxed=false) |
| int | nextFreePartition (storage::PartitionType type, unsigned &nr, string &device) |
| int | destroyPartitionTable (const string &new_label) |
| unsigned | availablePartNumber (storage::PartitionType type=storage::PRIMARY) |
| int | resizePartition (DmPart *p, unsigned long newCyl) |
| int | resizeVolume (Volume *v, unsigned long long newSize) |
| int | removeVolume (Volume *v) |
| int | removeDmPart () |
| void | getUnusedSpace (std::list< Region > &free, bool all=true, bool logical=false) |
| bool | hasExtended () const |
| unsigned long long | cylinderToKb (unsigned long val) const |
| unsigned long | kbToCylinder (unsigned long long val) const |
| string | getPartName (unsigned nr) const |
| virtual void | getCommitActions (std::list< storage::commitAction * > &l) const |
| virtual int | getToCommit (storage::CommitStage stage, std::list< Container * > &col, std::list< Volume * > &vol) |
| virtual int | commitChanges (storage::CommitStage stage) |
| int | commitChanges (storage::CommitStage stage, Volume *vol) |
| Partition * | getPartition (unsigned nr, bool del) |
| void | getInfo (storage::DmPartCoInfo &info) const |
| bool | equalContent (const DmPartCo &rhs) const |
| virtual string | getDiffString (const Container &d) const |
| void | logDifference (const DmPartCo &d) const |
| DmPartCo & | operator= (const DmPartCo &rhs) |
| string | numToName (unsigned num) const |
Static Public Member Functions | |
| static storage::CType | staticType () |
| static string | undevName (const string &name) |
Protected Types | |
| typedef CastIterator< VIter, DmPart * > | DmPartInter |
| typedef CastIterator< CVIter, const DmPart * > | DmPartCInter |
| typedef CheckFnc< const DmPart > | CheckFncDmPart |
| typedef CheckerIterator < CheckFncDmPart, DmPartPI < CheckFncDmPart >::type, DmPartInter, DmPart > | DmPartPIterator |
| typedef CheckerIterator < CheckFncDmPart, DmPartCPI < CheckFncDmPart >::type, DmPartCInter, const DmPart > | DmPartCPIterator |
| typedef DerefIterator < DmPartPIterator, DmPart > | DmPartIter |
| typedef DerefIterator < DmPartCPIterator, const DmPart > | ConstDmPartIter |
| typedef IterPair< DmPartIter > | DmPartPair |
| typedef IterPair< ConstDmPartIter > | ConstDmPartPair |
Protected Member Functions | |
| DmPartPair | dmpartPair (bool(*CheckDmPart)(const DmPart &)=NULL) |
| DmPartIter | dmpartBegin (bool(*CheckDmPart)(const DmPart &)=NULL) |
| DmPartIter | dmpartEnd (bool(*CheckDmPart)(const DmPart &)=NULL) |
| ConstDmPartPair | dmpartPair (bool(*CheckDmPart)(const DmPart &)=NULL) const |
| ConstDmPartIter | dmpartBegin (bool(*CheckDmPart)(const DmPart &)=NULL) const |
| ConstDmPartIter | dmpartEnd (bool(*CheckDmPart)(const DmPart &)=NULL) const |
| DmPartCo (Storage *const s, const string &File) | |
| virtual void | print (std::ostream &s) const |
| virtual Container * | getCopy () const |
| void | activate_part (bool val) |
| void | init (ProcPart &ppart) |
| void | createDisk (ProcPart &ppart) |
| void | getVolumes (ProcPart &ppart) |
| void | updatePointers (bool invalid=false) |
| void | updateMinor () |
| virtual void | newP (DmPart *&dm, unsigned num, Partition *p) |
| int | addNewDev (string &device) |
| int | updateDelDev () |
| void | handleWholeDevice () |
| void | removeFromMemory () |
| void | removePresentPartitions () |
| bool | validPartition (const Partition *p) |
| bool | findDm (unsigned nr, DmPartIter &i) |
| int | doCreate (Volume *v) |
| int | doRemove (Volume *v) |
| int | doResize (Volume *v) |
| int | doSetType (DmPart *v) |
| int | doCreateLabel () |
| virtual int | doRemove () |
| virtual string | removeText (bool doing) const |
| virtual string | setDiskLabelText (bool doing) const |
| void | logData (const string &Dir) |
Static Protected Member Functions | |
| static bool | partNotDeleted (const DmPart &d) |
Protected Attributes | |
| string | udev_path |
| std::list< string > | udev_id |
| string | logfile_name |
| string | sysfs_dir |
| Disk * | disk |
| bool | active |
| bool | valid |
| bool | del_ptable |
| unsigned | num_part |
| storage::DmPartCoInfo | info |
Friends | |
| class | Storage |
| std::ostream & | operator<< (std::ostream &, const DmPartCo &) |
Classes | |
| struct | DmPartCPI |
| struct | DmPartPI |
typedef CastIterator<VIter, DmPart *> storage::DmPartCo::DmPartInter [protected] |
typedef CastIterator<CVIter, const DmPart *> storage::DmPartCo::DmPartCInter [protected] |
typedef CheckFnc<const DmPart> storage::DmPartCo::CheckFncDmPart [protected] |
typedef CheckerIterator< CheckFncDmPart, DmPartPI<CheckFncDmPart>::type, DmPartInter, DmPart > storage::DmPartCo::DmPartPIterator [protected] |
typedef CheckerIterator< CheckFncDmPart, DmPartCPI<CheckFncDmPart>::type, DmPartCInter, const DmPart > storage::DmPartCo::DmPartCPIterator [protected] |
typedef DerefIterator<DmPartPIterator,DmPart> storage::DmPartCo::DmPartIter [protected] |
typedef DerefIterator<DmPartCPIterator,const DmPart> storage::DmPartCo::ConstDmPartIter [protected] |
typedef IterPair<DmPartIter> storage::DmPartCo::DmPartPair [protected] |
typedef IterPair<ConstDmPartIter> storage::DmPartCo::ConstDmPartPair [protected] |
| DmPartCo::DmPartCo | ( | Storage *const | s, | |
| const string & | Name, | |||
| storage::CType | t, | |||
| ProcPart & | ppart | |||
| ) |
References active, del_ptable, storage::Container::dev, disk, storage::PeContainer::free_pe, storage::PeContainer::init(), storage::Container::nm, num_part, storage::PeContainer::num_pe, undevName(), valid, and y2debug.
Referenced by getCopy().
| DmPartCo::DmPartCo | ( | const DmPartCo & | rhs | ) |
| DmPartCo::~DmPartCo | ( | ) | [virtual] |
References storage::Container::dev, disk, and y2debug.
| storage::DmPartCo::DmPartCo | ( | Storage *const | s, | |
| const string & | File | |||
| ) | [protected] |
| unsigned long long storage::DmPartCo::sizeK | ( | ) | const [inline] |
| unsigned storage::DmPartCo::isValid | ( | ) | const [inline] |
| const string& storage::DmPartCo::labelName | ( | ) | const [inline] |
References disk, and storage::Disk::labelName().
Referenced by doCreateLabel(), storage::DmraidCo::setDiskLabelText(), and setDiskLabelText().
| const string& storage::DmPartCo::udevPath | ( | ) | const [inline] |
References udev_path.
| const std::list<string>& storage::DmPartCo::udevId | ( | ) | const [inline] |
| unsigned storage::DmPartCo::numPartitions | ( | ) | const [inline] |
References disk, and storage::Disk::numPartitions().
| static storage::CType storage::DmPartCo::staticType | ( | ) | [inline, static] |
Reimplemented from storage::Container.
Reimplemented in storage::DmraidCo.
References storage::DMRAID.
| void storage::DmPartCo::setUdevData | ( | const string & | id | ) |
Reimplemented in storage::DmraidCo.
| int DmPartCo::createPartition | ( | storage::PartitionType | type, | |
| long unsigned | start, | |||
| long unsigned | len, | |||
| string & | device, | |||
| bool | checkRelaxed = false | |||
| ) |
| int DmPartCo::createPartition | ( | long unsigned | len, | |
| string & | device, | |||
| bool | checkRelaxed = false | |||
| ) |
| int DmPartCo::createPartition | ( | storage::PartitionType | type, | |
| string & | device | |||
| ) |
| int DmPartCo::removePartition | ( | unsigned | nr | ) |
| int DmPartCo::changePartitionId | ( | unsigned | nr, | |
| unsigned | id | |||
| ) |
References storage::Disk::changePartitionId(), disk, storage::DMPART_PARTITION_NOT_FOUND, and y2milestone.
Referenced by storage::Storage::changePartitionId().
| int DmPartCo::forgetChangePartitionId | ( | unsigned | nr | ) |
References disk, storage::DMPART_PARTITION_NOT_FOUND, storage::Disk::forgetChangePartitionId(), and y2milestone.
Referenced by storage::Storage::forgetChangePartitionId().
| int DmPartCo::changePartitionArea | ( | unsigned | nr, | |
| unsigned long | start, | |||
| unsigned long | size, | |||
| bool | checkRelaxed = false | |||
| ) |
References storage::Disk::changePartitionArea(), disk, storage::DMPART_PARTITION_NOT_FOUND, findDm(), and y2milestone.
Referenced by storage::Storage::updatePartitionArea().
| int DmPartCo::nextFreePartition | ( | storage::PartitionType | type, | |
| unsigned & | nr, | |||
| string & | device | |||
| ) |
References disk, storage::Disk::nextFreePartition(), numToName(), and y2milestone.
| int DmPartCo::destroyPartitionTable | ( | const string & | new_label | ) |
References del_ptable, storage::Disk::destroyPartitionTable(), storage::Container::device(), disk, storage::Storage::getRecursiveRemoval(), storage::Container::getStorage(), storage::Container::getUsedBy(), storage::Container::getUsedByType(), storage::Storage::removeUsing(), storage::Storage::removeVolume(), storage::Container::ronly, storage::Storage::setRecursiveRemoval(), storage::UB_NONE, storage::Container::vols, and y2milestone.
| unsigned storage::DmPartCo::availablePartNumber | ( | storage::PartitionType | type = storage::PRIMARY |
) |
| int DmPartCo::resizePartition | ( | DmPart * | p, | |
| unsigned long | newCyl | |||
| ) |
| int DmPartCo::resizeVolume | ( | Volume * | v, | |
| unsigned long long | newSize | |||
| ) | [virtual] |
Reimplemented from storage::Container.
References disk, storage::DMPART_CHANGE_READONLY, storage::DMPART_INTERNAL_ERR, storage::DMPART_INVALID_VOLUME, storage::DMPART_PARTITION_NOT_FOUND, storage::Volume::getFsInfo(), storage::DmPart::getPtr(), storage::Volume::nr(), storage::Container::readonly(), storage::Disk::resizeVolume(), storage::DmPart::updateSize(), and y2milestone.
| int DmPartCo::removeVolume | ( | Volume * | v | ) | [virtual] |
Reimplemented from storage::Container.
References disk, storage::DMPART_CHANGE_READONLY, storage::DMPART_INTERNAL_ERR, storage::Container::getStorage(), storage::Storage::logCo(), storage::Volume::nr(), storage::Container::readonly(), storage::Disk::removePartition(), updateDelDev(), and y2milestone.
| int DmPartCo::removeDmPart | ( | ) |
References storage::IterPair< Iter >::begin(), storage::Container::created(), storage::DMPART_CHANGE_READONLY, dmpartPair(), storage::IterPair< Iter >::end(), storage::DmPart::notDeleted(), storage::Container::readonly(), storage::Container::removeFromList(), removePartition(), storage::Container::setDeleted(), storage::PeContainer::unuseDev(), y2err, and y2milestone.
| void storage::DmPartCo::getUnusedSpace | ( | std::list< Region > & | free, | |
| bool | all = true, |
|||
| bool | logical = false | |||
| ) |
| bool storage::DmPartCo::hasExtended | ( | ) | const |
| unsigned long long storage::DmPartCo::cylinderToKb | ( | unsigned long | val | ) | const [inline] |
References storage::Disk::cylinderToKb(), and disk.
| unsigned long storage::DmPartCo::kbToCylinder | ( | unsigned long long | val | ) | const [inline] |
References disk, and storage::Disk::kbToCylinder().
| string storage::DmPartCo::getPartName | ( | unsigned | nr | ) | const |
| virtual void storage::DmPartCo::getCommitActions | ( | std::list< storage::commitAction * > & | l | ) | const [virtual] |
Reimplemented from storage::Container.
| virtual int storage::DmPartCo::getToCommit | ( | storage::CommitStage | stage, | |
| std::list< Container * > & | col, | |||
| std::list< Volume * > & | vol | |||
| ) | [virtual] |
Reimplemented from storage::Container.
| int DmPartCo::commitChanges | ( | storage::CommitStage | stage | ) | [virtual] |
Reimplemented from storage::Container.
References storage::DECREASE, del_ptable, storage::Container::deleted(), storage::DMPART_COMMIT_NOTHING_TODO, doCreateLabel(), doRemove(), storage::Container::name(), and y2milestone.
| int DmPartCo::commitChanges | ( | storage::CommitStage | stage, | |
| Volume * | vol | |||
| ) | [virtual] |
Reimplemented from storage::Container.
References storage::Container::commitChanges(), disk, storage::DMPART_INVALID_VOLUME, doSetType(), storage::DmPart::getPtr(), storage::INCREASE, storage::Container::name(), storage::Partition::toChangeId(), and y2milestone.
| Partition * DmPartCo::getPartition | ( | unsigned | nr, | |
| bool | del | |||
| ) |
References storage::IterPair< Iter >::begin(), disk, storage::IterPair< Iter >::end(), storage::Disk::partPair(), and y2mil.
Referenced by addNewDev(), and updatePointers().
| void DmPartCo::getInfo | ( | storage::DmPartCoInfo & | info | ) | const |
| bool DmPartCo::equalContent | ( | const DmPartCo & | rhs | ) | const |
References active, storage::IterPair< Iter >::begin(), del_ptable, dmpartPair(), storage::IterPair< Iter >::end(), storage::PeContainer::equalContent(), and valid.
Referenced by storage::DmraidCo::equalContent().
| string DmPartCo::getDiffString | ( | const Container & | d | ) | const [virtual] |
Reimplemented from storage::PeContainer.
Reimplemented in storage::DmraidCo.
References active, del_ptable, storage::Container::getDiffString(), and valid.
Referenced by storage::DmraidCo::getDiffString(), and logDifference().
| void DmPartCo::logDifference | ( | const DmPartCo & | d | ) | const |
| string DmPartCo::undevName | ( | const string & | name | ) | [static] |
Reimplemented in storage::DmraidCo.
Referenced by DmPartCo(), storage::Storage::findDmPartCo(), and storage::Storage::findDmraidCo().
| string DmPartCo::numToName | ( | unsigned | num | ) | const |
References storage::decString(), storage::Container::nm, and y2mil.
Referenced by addNewDev(), storage::DmPart::DmPart(), init(), nextFreePartition(), storage::Dmraid::removeText(), and storage::DmPart::updateName().
| DmPartPair storage::DmPartCo::dmpartPair | ( | bool(*)(const DmPart &) | CheckDmPart = NULL |
) | [inline, protected] |
References dmpartBegin(), and dmpartEnd().
Referenced by DmPartCo(), equalContent(), findDm(), logDifference(), removeDmPart(), updateDelDev(), updateMinor(), and updatePointers().
| DmPartIter storage::DmPartCo::dmpartBegin | ( | bool(*)(const DmPart &) | CheckDmPart = NULL |
) | [inline, protected] |
| DmPartIter storage::DmPartCo::dmpartEnd | ( | bool(*)(const DmPart &) | CheckDmPart = NULL |
) | [inline, protected] |
| ConstDmPartPair storage::DmPartCo::dmpartPair | ( | bool(*)(const DmPart &) | CheckDmPart = NULL |
) | const [inline, protected] |
References dmpartBegin(), and dmpartEnd().
| ConstDmPartIter storage::DmPartCo::dmpartBegin | ( | bool(*)(const DmPart &) | CheckDmPart = NULL |
) | const [inline, protected] |
References storage::Container::begin(), and storage::Container::end().
| ConstDmPartIter storage::DmPartCo::dmpartEnd | ( | bool(*)(const DmPart &) | CheckDmPart = NULL |
) | const [inline, protected] |
References storage::Container::begin(), and storage::Container::end().
| virtual void storage::DmPartCo::print | ( | std::ostream & | s | ) | const [inline, protected, virtual] |
| virtual Container* storage::DmPartCo::getCopy | ( | ) | const [inline, protected, virtual] |
| void DmPartCo::activate_part | ( | bool | val | ) | [protected] |
References storage::Dm::activate(), active, storage::Container::dev, storage::SystemCmd::execute(), and y2milestone.
Referenced by doCreate(), storage::DmraidCo::doRemove(), doRemove(), doResize(), and init().
| void DmPartCo::init | ( | ProcPart & | ppart | ) | [protected] |
References activate_part(), active, createDisk(), storage::decString(), disk, storage::Dm::dmNumber(), storage::SystemCmd::execute(), storage::ProcPart::getSize(), getVolumes(), storage::Container::mnr, storage::Container::nm, storage::PeContainer::num_pe, storage::SystemCmd::numLines(), storage::Disk::numPartitions(), numToName(), storage::PeContainer::pe_size, storage::SystemCmd::retcode(), storage::Container::size_k, storage::SystemCmd::stdout(), valid, y2mil, and y2war.
| void DmPartCo::createDisk | ( | ProcPart & | ppart | ) | [protected] |
| void DmPartCo::getVolumes | ( | ProcPart & | ppart | ) | [protected] |
| void DmPartCo::updatePointers | ( | bool | invalid = false |
) | [protected] |
References storage::IterPair< Iter >::begin(), dmpartPair(), storage::IterPair< Iter >::end(), and getPartition().
Referenced by DmPartCo().
| void DmPartCo::updateMinor | ( | ) | [protected] |
References storage::IterPair< Iter >::begin(), dmpartPair(), and storage::IterPair< Iter >::end().
Referenced by doCreate(), doRemove(), and doResize().
Reimplemented in storage::DmraidCo.
References y2mil.
Referenced by addNewDev(), getVolumes(), and handleWholeDevice().
| int DmPartCo::addNewDev | ( | string & | device | ) | [protected] |
| int DmPartCo::updateDelDev | ( | ) | [protected] |
References storage::IterPair< Iter >::begin(), storage::Volume::deleted(), storage::DMPART_PARTITION_NOT_FOUND, dmpartPair(), storage::IterPair< Iter >::end(), handleWholeDevice(), storage::Volume::nr(), storage::Container::removeFromList(), validPartition(), and y2mil.
Referenced by removePartition(), and removeVolume().
| void DmPartCo::handleWholeDevice | ( | ) | [protected] |
References storage::Container::addToList(), disk, storage::IterPair< Iter >::empty(), findDm(), newP(), storage::Partition::notDeleted(), storage::Disk::partPair(), storage::Container::removeFromList(), storage::Volume::setSize(), storage::Container::size_k, y2err, and y2milestone.
Referenced by addNewDev(), doCreateLabel(), getVolumes(), and updateDelDev().
| void DmPartCo::removeFromMemory | ( | ) | [protected] |
| void DmPartCo::removePresentPartitions | ( | ) | [protected] |
| bool DmPartCo::validPartition | ( | const Partition * | p | ) | [protected] |
References storage::IterPair< Iter >::begin(), disk, storage::IterPair< Iter >::end(), storage::Volume::nr(), storage::Disk::partPair(), and y2mil.
Referenced by updateDelDev().
| bool DmPartCo::findDm | ( | unsigned | nr, | |
| DmPartIter & | i | |||
| ) | [protected] |
References storage::IterPair< Iter >::begin(), dmpartPair(), storage::IterPair< Iter >::end(), and storage::DmPart::notDeleted().
Referenced by changePartitionArea(), and handleWholeDevice().
| static bool storage::DmPartCo::partNotDeleted | ( | const DmPart & | d | ) | [inline, static, protected] |
References storage::Volume::deleted().
| int DmPartCo::doCreate | ( | Volume * | v | ) | [protected, virtual] |
Reimplemented from storage::Container.
References activate_part(), active, disk, storage::DMPART_INTERNAL_ERR, storage::DMPART_INVALID_VOLUME, storage::DMPART_PARTITION_NOT_FOUND, storage::Disk::doCreate(), doSetType(), storage::EXTENDED, storage::Container::getStorage(), storage::Partition::id(), storage::Partition::ID_LINUX, storage::Volume::name(), storage::Container::name(), storage::Storage::showInfoCb(), storage::Container::silent, storage::Partition::type(), updateMinor(), storage::Storage::waitForDevice(), and y2milestone.
| int DmPartCo::doRemove | ( | Volume * | v | ) | [protected, virtual] |
Reimplemented from storage::Container.
References activate_part(), active, storage::Container::deleted(), disk, storage::DMPART_INTERNAL_ERR, storage::DMPART_INVALID_VOLUME, storage::DMPART_PARTITION_NOT_FOUND, storage::DMPART_REMOVE_PARTITION_LIST_ERASE, storage::Disk::doRemove(), storage::Container::getStorage(), storage::Volume::name(), storage::Container::name(), storage::Volume::prepareRemove(), storage::Container::removeFromList(), storage::Storage::showInfoCb(), storage::Container::silent, updateMinor(), storage::Storage::waitForDevice(), and y2milestone.
| int DmPartCo::doResize | ( | Volume * | v | ) | [protected, virtual] |
Reimplemented from storage::Container.
References activate_part(), active, disk, storage::DMPART_INTERNAL_ERR, storage::DMPART_INVALID_VOLUME, storage::DMPART_PARTITION_NOT_FOUND, storage::Disk::doResize(), storage::FSNONE, storage::Container::getStorage(), storage::Volume::name(), storage::Container::name(), storage::Storage::showInfoCb(), storage::Container::silent, updateMinor(), storage::VFAT, storage::Storage::waitForDevice(), and y2milestone.
| int DmPartCo::doSetType | ( | DmPart * | v | ) | [protected] |
References disk, storage::DMPART_PARTITION_NOT_FOUND, storage::Disk::doSetType(), storage::DmPart::getPtr(), storage::Container::getStorage(), storage::Volume::name(), storage::Container::name(), storage::DmPart::setTypeText(), storage::Storage::showInfoCb(), storage::Container::silent, and y2milestone.
Referenced by commitChanges(), and doCreate().
| int DmPartCo::doCreateLabel | ( | ) | [protected] |
References del_ptable, storage::Container::device(), disk, storage::Disk::doCreateLabel(), storage::Container::getStorage(), handleWholeDevice(), labelName(), storage::Storage::removeDmMapsTo(), removeFromMemory(), removePresentPartitions(), setDiskLabelText(), storage::Storage::showInfoCb(), storage::Container::silent, storage::Storage::waitForDevice(), and y2milestone.
Referenced by commitChanges().
| int DmPartCo::doRemove | ( | ) | [protected, virtual] |
Reimplemented in storage::DmraidCo.
References storage::DMPART_NO_REMOVE.
Referenced by commitChanges(), and removePresentPartitions().
| string DmPartCo::removeText | ( | bool | doing | ) | const [protected, virtual] |
Reimplemented from storage::Container.
Reimplemented in storage::DmraidCo.
References storage::_(), storage::Container::name(), and storage::sformat().
| string DmPartCo::setDiskLabelText | ( | bool | doing | ) | const [protected, virtual] |
Reimplemented in storage::DmraidCo.
References storage::_(), storage::Container::dev, labelName(), and storage::sformat().
Referenced by doCreateLabel().
| void DmPartCo::logData | ( | const string & | Dir | ) | [protected, virtual] |
friend class Storage [friend] |
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const DmPartCo & | d | |||
| ) | [friend] |
string storage::DmPartCo::udev_path [protected] |
Referenced by udevPath().
std::list<string> storage::DmPartCo::udev_id [protected] |
Referenced by storage::operator<<(), storage::DmraidCo::setUdevData(), and udevId().
string storage::DmPartCo::logfile_name [protected] |
string storage::DmPartCo::sysfs_dir [protected] |
Disk* storage::DmPartCo::disk [protected] |
Referenced by changePartitionArea(), changePartitionId(), commitChanges(), createDisk(), createPartition(), cylinderToKb(), destroyPartitionTable(), DmPartCo(), doCreate(), doCreateLabel(), doRemove(), doResize(), doSetType(), forgetChangePartitionId(), getInfo(), getPartition(), getVolumes(), handleWholeDevice(), init(), kbToCylinder(), labelName(), nextFreePartition(), numPartitions(), removePartition(), removeVolume(), resizePartition(), resizeVolume(), validPartition(), and ~DmPartCo().
bool storage::DmPartCo::active [protected] |
Reimplemented in storage::DmraidCo.
Referenced by activate_part(), DmPartCo(), doCreate(), doRemove(), doResize(), equalContent(), getDiffString(), init(), and storage::operator<<().
bool storage::DmPartCo::valid [protected] |
Referenced by DmPartCo(), equalContent(), getDiffString(), init(), isValid(), and storage::operator<<().
bool storage::DmPartCo::del_ptable [protected] |
Referenced by commitChanges(), destroyPartitionTable(), DmPartCo(), doCreateLabel(), equalContent(), getDiffString(), and storage::operator<<().
unsigned storage::DmPartCo::num_part [protected] |
Referenced by DmPartCo(), getVolumes(), and storage::operator<<().
storage::DmPartCoInfo storage::DmPartCo::info [mutable, protected] |
1.5.5