#include <Device.h>

Public Member Functions | |
| Device (const string &nm, const string &dev) | |
| Device (const string &nm, const string &dev, SystemInfo &systeminfo) | |
| Device (const xmlNode *node) | |
| Device (const Device &) | |
| virtual | ~Device () |
| void | saveData (xmlNode *node) const |
| const string & | name () const |
| const string & | device () const |
| void | setNameDevice (const string &nm, const string &dev) |
| bool | created () const |
| bool | deleted () const |
| void | setCreated (bool val=true) |
| void | setDeleted (bool val=true) |
| bool | isSilent () const |
| void | setSilent (bool val=true) |
| unsigned long long | sizeK () const |
| string | sizeString () const |
| bool | getMajorMinor () |
| unsigned long | majorNr () const |
| unsigned long | minorNr () const |
| const std::list< string > & | altNames () const |
| void | setAltNames (std::list< string > &li) |
| bool | sameDevice (const string &device) const |
| virtual string | udevPath () const |
| virtual list< string > | udevId () const |
| virtual string | procName () const |
| virtual string | sysfsPath () const |
| void | clearUsedBy () |
| void | setUsedBy (UsedByType type, const string &device) |
| void | addUsedBy (UsedByType type, const string &device) |
| void | removeUsedBy (UsedByType type, const string &device) |
| bool | isUsedBy () const |
| bool | isUsedBy (UsedByType type) const |
| const list< UsedBy > & | getUsedBy () const |
| virtual list< string > | getUsing () const |
| void | logDifference (std::ostream &log, const Device &rhs) const |
Protected Attributes | |
| string | nm |
| string | dev |
| bool | create |
| bool | del |
| bool | silent |
| unsigned long long | size_k |
| unsigned long | mjr |
| unsigned long | mnr |
| list< UsedBy > | uby |
| list< string > | alt_names |
Private Member Functions | |
| Device & | operator= (const Device &) |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const Device &d) |
| storage::Device::Device | ( | const string & | nm, | |
| const string & | dev | |||
| ) |
References y2deb.
| storage::Device::Device | ( | const string & | nm, | |
| const string & | dev, | |||
| SystemInfo & | systeminfo | |||
| ) |
References y2deb.
| storage::Device::Device | ( | const xmlNode * | node | ) |
| void storage::Device::saveData | ( | xmlNode * | node | ) | const |
Reimplemented in storage::Btrfs, storage::BtrfsCo, storage::Container, storage::Disk, storage::Dm, storage::LvmLv, storage::LvmVg, storage::Partition, storage::PeContainer, storage::Tmpfs, storage::TmpfsCo, and storage::Volume.
References dev, mjr, mnr, nm, storage::setChildValue(), size_k, and uby.
Referenced by storage::Volume::saveData(), and storage::Container::saveData().
| const string& storage::Device::name | ( | ) | const [inline] |
Referenced by storage::Disk::availablePartNumber(), storage::Btrfs::changeDeviceName(), storage::PeContainer::checkConsistency(), storage::MdPartCo::commitChanges(), storage::LvmVg::commitChanges(), storage::DmPartCo::commitChanges(), storage::Disk::commitChanges(), storage::Dasd::commitChanges(), storage::Container::commitChanges(), storage::BtrfsCo::commitChanges(), storage::MdCo::createMd(), storage::LvmVg::createText(), storage::MdPartCo::doCreate(), storage::MdCo::doCreate(), storage::LvmVg::doCreate(), storage::LoopCo::doCreate(), storage::DmPartCo::doCreate(), storage::Disk::doCreate(), storage::Container::doCreate(), storage::LvmVg::doCreateVg(), storage::LvmVg::doExtendVg(), storage::LvmVg::doReduceVg(), storage::NfsCo::doRemove(), storage::MdPartCo::doRemove(), storage::MdCo::doRemove(), storage::LvmVg::doRemove(), storage::LoopCo::doRemove(), storage::DmraidCo::doRemove(), storage::DmPartCo::doRemove(), storage::DmCo::doRemove(), storage::Disk::doRemove(), storage::Container::doRemove(), storage::LvmVg::doRemoveVg(), storage::MdPartCo::doResize(), storage::LvmVg::doResize(), storage::DmPartCo::doResize(), storage::Disk::doResize(), storage::Container::doResize(), storage::MdPartCo::doSetType(), storage::DmPartCo::doSetType(), storage::Disk::doSetType(), storage::LvmVg::extendText(), storage::Btrfs::extendText(), storage::LvmVg::extendVg(), storage::Btrfs::extendVolume(), storage::Dasd::getCommitActions(), storage::Disk::getDlabelCapabilities(), storage::Container::getInfo(), storage::LvmLv::getState(), storage::LvmLv::hasSnapshots(), storage::LvmVg::logData(), storage::LvmLv::LvmLv(), storage::MdPart::MdPart(), storage::LvmVg::normalizeDmDevices(), storage::operator<<(), storage::LvmVg::reduceText(), storage::Btrfs::reduceText(), storage::LvmVg::reduceVg(), storage::Storage::removeContainer(), storage::MdPartCo::removeText(), storage::LvmVg::removeText(), storage::DmraidCo::removeText(), storage::DmPartCo::removeText(), storage::MdCo::removeVolume(), storage::LvmVg::removeVolume(), storage::LoopCo::removeVolume(), storage::DmCo::removeVolume(), storage::Container::removeVolume(), storage::LvmVg::resizeVolume(), and storage::Btrfs::shrinkVolume().
| const string& storage::Device::device | ( | ) | const [inline] |
Referenced by storage::LvmVg::addPv(), storage::DmraidCo::addPv(), storage::DmmultipathCo::addPv(), storage::Btrfs::Btrfs(), storage::Disk::callAddpart(), storage::Disk::callDelpart(), storage::Md::createCmd(), storage::LoopCo::createLoop(), storage::LvmVg::createLv(), storage::LvmVg::createLvSnapshot(), storage::MdPartCo::destroyPartitionTable(), storage::DmPartCo::destroyPartitionTable(), storage::Disk::destroyPartitionTable(), storage::FreeInfo::detectContentInfo(), storage::Dasd::detectPartitions(), storage::FreeInfo::detectResizeInfo(), storage::Storage::deviceByNumber(), storage::Dmmultipath::Dmmultipath(), storage::DmPart::DmPart(), storage::Dmraid::Dmraid(), storage::Disk::doCreate(), storage::MdPartCo::doCreateLabel(), storage::DmPartCo::doCreateLabel(), storage::Disk::doCreateLabel(), storage::LvmVg::doCreateVg(), storage::Dasd::doDasdfmt(), storage::Dasd::doFdasd(), storage::Volume::doFormatBtrfs(), storage::MdPartCo::doRemove(), storage::LvmVg::doRemove(), storage::Disk::doRemove(), storage::Disk::doResize(), storage::Disk::doSetType(), storage::Disk::enlargeGpt(), storage::BtrfsCo::eraseVolume(), storage::LvmVg::extendVg(), storage::BtrfsCo::getBtrfsData(), storage::Storage::getContVolInfo(), storage::PeContainer::getDeviceByNumber(), storage::DmCo::getDmData(), storage::Volume::getFsData(), storage::Volume::getFstabData(), storage::Container::getInfo(), storage::Volume::getLoopData(), storage::LoopCo::getLoopData(), storage::Volume::getMountData(), storage::Disk::getPartedSectors(), storage::Disk::getPartedValues(), storage::Storage::getRecursiveUsedByHelper(), storage::Partition::getUsing(), storage::MdPart::getUsing(), storage::LvmLv::getUsing(), storage::DmPart::getUsing(), storage::LvmVg::getVgData(), storage::Storage::getVolume(), storage::Storage::isUsedBySingleBtrfs(), storage::Md::Md(), storage::Storage::mountTmp(), storage::Partition::Partition(), storage::Disk::redetectGeometry(), storage::Storage::removeDm(), storage::Storage::removeDmTableTo(), storage::NfsCo::removeVolume(), storage::Volume::setNameDev(), storage::Dm::setPeMap(), storage::Volume::setUsedByUuid(), storage::Volume::Volume(), and storage::Partition::zeroIfNeeded().
| void storage::Device::setNameDevice | ( | const string & | nm, | |
| const string & | dev | |||
| ) |
| bool storage::Device::created | ( | ) | const [inline] |
References create.
Referenced by storage::Partition::changeId(), storage::Partition::changeNumber(), storage::LvmVg::commitChanges(), storage::Container::commitChanges(), storage::LvmVg::doCreateVg(), storage::Disk::doRemove(), storage::existingLog(), storage::existingNotLog(), storage::Volume::getCommitActions(), storage::LvmVg::getCommitActions(), storage::Btrfs::getCommitActions(), storage::LvmVg::getInfo(), storage::Container::getToCommit(), storage::logicalCreated(), storage::lvCreated(), storage::lvNotCreated(), storage::lvNotDeletedCreated(), storage::notCreatedPrimary(), storage::Storage::removeDmMapsTo(), storage::DmPartCo::removeDmPart(), storage::MdPartCo::removeMdPart(), storage::LvmVg::removeVg(), storage::Disk::resizePartition(), storage::LvmVg::resizeVolume(), and storage::Container::stageIncrease().
| bool storage::Device::deleted | ( | ) | const [inline] |
References del.
Referenced by storage::LvmVg::addPv(), storage::DmraidCo::addPv(), storage::DmmultipathCo::addPv(), storage::MdPartCo::commitChanges(), storage::LvmVg::commitChanges(), storage::DmPartCo::commitChanges(), storage::Container::commitChanges(), storage::Storage::commitPair(), storage::Volume::doFstabUpdate(), storage::MdPartCo::doRemove(), storage::DmraidCo::doRemove(), storage::DmPartCo::doRemove(), storage::LvmVg::doRemoveVg(), storage::existingLog(), storage::existingNotLog(), storage::Volume::getCommitActions(), storage::MdPartCo::getCommitActions(), storage::LvmVg::getCommitActions(), storage::DmPartCo::getCommitActions(), storage::Dasd::getToCommit(), storage::Container::getToCommit(), storage::Volume::isDeleted(), storage::Dm::isDeleted(), storage::lvDeleted(), storage::lvNotDeletedCreated(), storage::Volume::notDeleted(), storage::Tmpfs::notDeleted(), storage::Partition::notDeleted(), storage::Nfs::notDeleted(), storage::MdPartCo::notDeleted(), storage::MdPart::notDeleted(), storage::Md::notDeleted(), storage::LvmLv::notDeleted(), storage::Loop::notDeleted(), storage::Dmraid::notDeleted(), storage::DmPart::notDeleted(), storage::Dmmultipath::notDeleted(), storage::Dm::notDeleted(), storage::Container::notDeleted(), storage::Btrfs::notDeleted(), storage::notDeletedExt(), storage::notDeletedLog(), storage::notDeletedNotLog(), storage::notDeletedPri(), storage::Container::stageDecrease(), storage::Partition::toChangeId(), storage::toChangeId(), storage::MdPartCo::updateDelDev(), and storage::DmPartCo::updateDelDev().
| void storage::Device::setCreated | ( | bool | val = true |
) | [inline] |
References create.
Referenced by storage::MdPartCo::addNewDev(), storage::DmPartCo::addNewDev(), storage::Btrfs::Btrfs(), storage::LoopCo::createLoop(), storage::LvmVg::createLv(), storage::LvmVg::createLvSnapshot(), storage::MdCo::createMd(), storage::Disk::doCreate(), storage::LvmVg::doCreateVg(), and storage::LvmVg::LvmVg().
| void storage::Device::setDeleted | ( | bool | val = true |
) | [inline] |
| bool storage::Device::isSilent | ( | ) | const [inline] |
| void storage::Device::setSilent | ( | bool | val = true |
) | [inline] |
References silent.
Referenced by storage::MdPartCo::createDisk(), storage::DmPartCo::createDisk(), storage::Storage::removeDmMapsTo(), storage::MdPartCo::removePresentPartitions(), storage::DmPartCo::removePresentPartitions(), storage::Disk::removePresentPartitions(), storage::TmpfsCo::removeVolume(), and storage::BtrfsCo::removeVolume().
| unsigned long long storage::Device::sizeK | ( | ) | const [inline] |
Reimplemented in storage::DmPartCo.
References size_k.
Referenced by storage::Loop::checkReuse(), storage::Storage::computeMdSize(), storage::Loop::createFile(), storage::FreeInfo::detectResizeInfo(), storage::DmPart::DmPart(), storage::Disk::doResize(), storage::BtrfsCo::getBtrfsData(), storage::DmCo::getDmData(), storage::LvmVg::getInfo(), storage::Disk::getInfo(), storage::LoopCo::getLoopData(), storage::Disk::getPartedValues(), storage::MdPart::MdPart(), storage::operator<<(), storage::Partition::removeText(), sizeString(), storage::MdPart::updateSize(), and storage::DmPart::updateSize().
| string storage::Device::sizeString | ( | ) | const |
References storage::byteToHumanString(), and sizeK().
Referenced by storage::Volume::createText(), storage::Partition::createText(), storage::Md::createText(), storage::LvmVg::createText(), storage::LvmLv::createText(), storage::Loop::createText(), storage::Dmraid::createText(), storage::Dmmultipath::createText(), storage::Volume::formatText(), storage::Partition::formatText(), storage::Md::formatText(), storage::LvmLv::formatText(), storage::Loop::formatText(), storage::Dmraid::formatText(), storage::Dmmultipath::formatText(), storage::Dm::formatText(), storage::Btrfs::formatText(), storage::Partition::removeText(), storage::Md::removeText(), storage::LvmLv::removeText(), storage::Loop::removeText(), storage::Dmraid::removeText(), storage::Dmmultipath::removeText(), storage::Dm::removeText(), storage::Btrfs::removeText(), storage::Volume::resizeText(), storage::Partition::resizeText(), storage::LvmLv::resizeText(), storage::Dmraid::resizeText(), and storage::Dmmultipath::resizeText().
| bool storage::Device::getMajorMinor | ( | ) |
References dev, storage::getMajorMinor(), mjr, and mnr.
Referenced by storage::Partition::changeNumber(), storage::Disk::Disk(), storage::DmPartCo::DmPartCo(), storage::Volume::doCryptsetup(), storage::Volume::init(), storage::Loop::Loop(), storage::Md::Md(), storage::MdPart::MdPart(), storage::MdPartCo::MdPartCo(), storage::Partition::Partition(), storage::Loop::setDmcryptDev(), storage::Dm::updateMajorMinor(), storage::MdPart::updateMinor(), and storage::DmPart::updateMinor().
| unsigned long storage::Device::majorNr | ( | ) | const [inline] |
References mjr.
Referenced by storage::PeContainer::getDeviceByNumber(), storage::Storage::removeDmTableTo(), and storage::Dm::updateMajorMinor().
| unsigned long storage::Device::minorNr | ( | ) | const [inline] |
| const std::list<string>& storage::Device::altNames | ( | ) | const [inline] |
References alt_names.
Referenced by storage::BtrfsCo::getBtrfsData(), and storage::NfsCo::getNfsData().
| void storage::Device::setAltNames | ( | std::list< string > & | li | ) | [inline] |
References alt_names.
Referenced by storage::BtrfsCo::getBtrfsData(), and storage::NfsCo::getNfsData().
| bool storage::Device::sameDevice | ( | const string & | device | ) | const |
References alt_names, dev, and storage::normalizeDevice().
Referenced by storage::PeContainer::findPe().
| string storage::Device::udevPath | ( | ) | const [virtual] |
| list< string > storage::Device::udevId | ( | ) | const [virtual] |
Reimplemented in storage::Btrfs, storage::Disk, storage::DmPart, storage::DmPartCo, storage::Md, storage::MdPart, storage::MdPartCo, and storage::Partition.
Referenced by storage::Volume::allowedMountBy(), storage::Volume::doFstabUpdate(), storage::Volume::getFstabData(), storage::Volume::getInfo(), storage::Container::getInfo(), storage::Volume::getMountByString(), and storage::Btrfs::udevId().
| virtual string storage::Device::procName | ( | ) | const [inline, virtual] |
Reimplemented in storage::Disk, storage::Dm, storage::DmPartCo, storage::Md, storage::MdPart, storage::MdPartCo, and storage::Partition.
| virtual string storage::Device::sysfsPath | ( | ) | const [inline, virtual] |
Reimplemented in storage::Btrfs, storage::Disk, storage::Dm, storage::DmPartCo, storage::Md, storage::MdPart, storage::MdPartCo, and storage::Partition.
Referenced by storage::Volume::getFilesysSysfsPath(), and storage::Btrfs::sysfsPath().
| void storage::Device::clearUsedBy | ( | ) | [inline] |
| void storage::Device::setUsedBy | ( | UsedByType | type, | |
| const string & | device | |||
| ) |
References uby.
Referenced by storage::Volume::getFsData(), storage::Storage::setUsedBy(), storage::Storage::setUsedByBtrfs(), and storage::Volume::setUsedByUuid().
| void storage::Device::addUsedBy | ( | UsedByType | type, | |
| const string & | device | |||
| ) |
| void storage::Device::removeUsedBy | ( | UsedByType | type, | |
| const string & | device | |||
| ) |
| bool storage::Device::isUsedBy | ( | ) | const [inline] |
References uby.
Referenced by storage::Storage::canRemove(), storage::Volume::canResize(), storage::Volume::canUseDevice(), storage::Volume::changeFstabOptions(), storage::Volume::changeMount(), storage::Volume::changeMountBy(), storage::MdPartCo::destroyPartitionTable(), storage::DmPartCo::destroyPartitionTable(), storage::Disk::destroyPartitionTable(), storage::Volume::doFormat(), storage::Volume::doMount(), storage::Volume::doSetLabel(), storage::Storage::isUsedBy(), storage::Volume::needCryptsetup(), storage::Volume::pvEncryption(), storage::Volume::setEncryption(), storage::Volume::setFormat(), storage::Volume::setLabel(), and storage::Partition::zeroIfNeeded().
| bool storage::Device::isUsedBy | ( | UsedByType | type | ) | const |
References uby.
| const list<UsedBy>& storage::Device::getUsedBy | ( | ) | const [inline] |
References uby.
Referenced by storage::MdPartCo::destroyPartitionTable(), storage::DmPartCo::destroyPartitionTable(), storage::Disk::destroyPartitionTable(), storage::BtrfsCo::deviceToUuid(), storage::BtrfsCo::getBtrfsData(), storage::Volume::getCommitActions(), and storage::Storage::isUsedBySingleBtrfs().
| virtual list<string> storage::Device::getUsing | ( | ) | const [inline, virtual] |
Reimplemented in storage::Dm, storage::DmPart, storage::LvmLv, storage::Md, storage::MdPart, storage::MdPartCo, storage::Partition, and storage::PeContainer.
Referenced by storage::Storage::getRecursiveUsedByHelper().
| void storage::Device::logDifference | ( | std::ostream & | log, | |
| const Device & | rhs | |||
| ) | const |
References create, del, dev, storage::logDiff(), mjr, mnr, and nm.
Referenced by storage::Volume::logDifference(), and storage::Container::logDifference().
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const Device & | d | |||
| ) | [friend] |
string storage::Device::nm [protected] |
Referenced by storage::Dasd::checkFdasdOutput(), storage::Disk::checkPartedOutput(), storage::Container::Container(), storage::MdPartCo::createDisk(), storage::DmPartCo::createDisk(), Device(), storage::Disk::Disk(), storage::DmCo::DmCo(), storage::Volume::equalContent(), storage::Container::equalContent(), storage::Volume::getDmcryptName(), storage::Volume::getInfo(), storage::MdPartCo::getPartName(), storage::DmPartCo::getPartName(), storage::Disk::getPartName(), storage::Volume::init(), storage::MdPartCo::init(), storage::DmPartCo::init(), storage::MdPartCo::initMd(), storage::Disk::isDasd(), logDifference(), storage::Md::Md(), storage::MdPartCo::MdPartCo(), storage::Volume::operator<(), storage::Container::operator<(), storage::operator<<(), storage::Volume::operator==(), storage::Container::operator==(), storage::Partition::procName(), storage::MdPartCo::procName(), storage::MdPart::procName(), storage::Md::procName(), storage::Disk::procName(), saveData(), storage::Loop::setDmcryptDev(), storage::Volume::setNameDev(), setNameDevice(), storage::MdPartCo::setUdevData(), storage::Md::setUdevData(), storage::DmraidCo::setUdevData(), storage::DmmultipathCo::setUdevData(), storage::Disk::setUdevData(), storage::Md::updateData(), and storage::Volume::Volume().
string storage::Device::dev [protected] |
Referenced by storage::Md::addDevice(), storage::LvmVg::addLv(), storage::MdPartCo::addNewDev(), storage::DmPartCo::addNewDev(), storage::Partition::addUdevData(), storage::Volume::allowedMountBy(), storage::Btrfs::Btrfs(), storage::BtrfsCo::BtrfsCo(), storage::Nfs::canonicalName(), storage::Btrfs::changeDeviceName(), storage::Volume::changeFstabOptions(), storage::Volume::changeMount(), storage::Partition::changeMount(), storage::Volume::changeMountBy(), storage::Partition::changeNumber(), storage::Dm::checkConsistency(), storage::Volume::checkDevice(), storage::Dasd::checkFdasdOutput(), storage::Disk::checkPartedOutput(), storage::Disk::checkPartitionsValid(), storage::Dasd::checkPartitionsValid(), storage::Container::Container(), storage::MdPartCo::createDisk(), storage::DmPartCo::createDisk(), storage::LvmVg::createLv(), storage::LvmVg::createLvSnapshot(), storage::Btrfs::createSubvolText(), storage::Volume::createText(), storage::Partition::createText(), storage::Md::createText(), storage::LvmLv::createText(), storage::Loop::createText(), storage::Dmraid::createText(), storage::Dmmultipath::createText(), storage::Container::createText(), storage::Volume::crsetupText(), storage::Dasd::Dasd(), storage::Dasd::dasdfmtText(), storage::Volume::defaultMountBy(), storage::Btrfs::deleteSubvolText(), storage::Volume::detectEncryption(), storage::Disk::detectGeometry(), storage::Disk::detectPartitions(), Device(), storage::Disk::Disk(), storage::Dm::Dm(), storage::Dmmultipath::Dmmultipath(), storage::DmmultipathCo::DmmultipathCo(), storage::DmPart::DmPart(), storage::DmPartCo::DmPartCo(), storage::Dmraid::Dmraid(), storage::DmraidCo::DmraidCo(), storage::Volume::doCryptsetup(), storage::Volume::doFormat(), storage::Volume::doFstabUpdate(), storage::Volume::doLosetup(), storage::Volume::doMount(), storage::Volume::doSetLabel(), storage::Volume::equalContent(), storage::Container::equalContent(), storage::MdCo::extendMd(), storage::Dasd::fdasdText(), storage::Volume::formatText(), storage::Partition::formatText(), storage::Md::formatText(), storage::LvmLv::formatText(), storage::Loop::formatText(), storage::Dmraid::formatText(), storage::Dmmultipath::formatText(), storage::Dm::formatText(), storage::Volume::getCryptsetupCmd(), storage::Volume::getDmcryptName(), storage::DmCo::getDmData(), storage::Volume::getFstabDentry(), storage::Volume::getFstabDevice(), storage::Volume::getInfo(), getMajorMinor(), storage::Volume::getMountByString(), storage::MdPartCo::getPartDevice(), storage::DmPartCo::getPartDevice(), storage::Disk::getPartDevice(), storage::Disk::getPartName(), storage::MdPartCo::getPartNum(), storage::Disk::getSysfsInfo(), storage::Dm::getTableInfo(), storage::Dm::init(), storage::MdPartCo::initMd(), storage::Volume::labelText(), logDifference(), storage::Loop::Loop(), storage::LoopCo::LoopCo(), storage::Volume::losetupText(), storage::LvmLv::LvmLv(), storage::LvmVg::LvmVg(), storage::Md::Md(), storage::MdCo::MdCo(), storage::Md::mdDevice(), storage::MdPart::MdPart(), storage::MdPartCo::MdPartCo(), storage::Volume::mount(), storage::Volume::mountDevice(), storage::Volume::mountText(), storage::Nfs::Nfs(), storage::NfsCo::NfsCo(), storage::LvmVg::normalizeDmDevices(), storage::operator<<(), storage::Partition::Partition(), storage::Disk::partitionsKernelKnowns(), storage::PeContainer::PeContainer(), storage::Volume::prepareRemove(), storage::Volume::removeText(), storage::Partition::removeText(), storage::Nfs::removeText(), storage::Md::removeText(), storage::LvmLv::removeText(), storage::Loop::removeText(), storage::Dmraid::removeText(), storage::Dmmultipath::removeText(), storage::Dm::removeText(), storage::Container::removeText(), storage::Volume::replaceAltName(), storage::Volume::resizeText(), storage::Partition::resizeText(), storage::LvmLv::resizeText(), storage::Dmraid::resizeText(), storage::Dmmultipath::resizeText(), sameDevice(), saveData(), storage::Disk::setDiskLabelText(), storage::Volume::setDmcryptDev(), storage::Loop::setDmcryptDev(), storage::Volume::setDmcryptDevEnc(), storage::Loop::setEncryption(), storage::Volume::setFormat(), storage::Partition::setFormat(), storage::Btrfs::setFormat(), storage::Volume::setNameDev(), setNameDevice(), storage::Partition::setTypeText(), storage::MdPart::setTypeText(), storage::Dmraid::setTypeText(), storage::DmPart::setTypeText(), storage::Dmmultipath::setTypeText(), storage::MdPartCo::setUdevData(), storage::Md::setUdevData(), storage::Disk::sysfsPath(), storage::TmpfsCo::TmpfsCo(), storage::Volume::umount(), storage::MdPartCo::updateEntry(), storage::Md::updateEntry(), storage::Dm::updateMajorMinor(), storage::Volume::Volume(), storage::Btrfs::~Btrfs(), storage::BtrfsCo::~BtrfsCo(), storage::Container::~Container(), storage::Dasd::~Dasd(), ~Device(), storage::Disk::~Disk(), storage::Dm::~Dm(), storage::Dmmultipath::~Dmmultipath(), storage::DmmultipathCo::~DmmultipathCo(), storage::DmPart::~DmPart(), storage::DmPartCo::~DmPartCo(), storage::Dmraid::~Dmraid(), storage::DmraidCo::~DmraidCo(), storage::Loop::~Loop(), storage::LoopCo::~LoopCo(), storage::LvmLv::~LvmLv(), storage::LvmVg::~LvmVg(), storage::Md::~Md(), storage::MdCo::~MdCo(), storage::MdPart::~MdPart(), storage::MdPartCo::~MdPartCo(), storage::Nfs::~Nfs(), storage::NfsCo::~NfsCo(), storage::Partition::~Partition(), storage::PeContainer::~PeContainer(), storage::TmpfsCo::~TmpfsCo(), and storage::Volume::~Volume().
bool storage::Device::create [protected] |
bool storage::Device::del [protected] |
Referenced by deleted(), storage::Volume::equalContent(), storage::Container::equalContent(), logDifference(), storage::Volume::needExtend(), storage::Volume::needShrink(), storage::Volume::operator<(), storage::Partition::operator<(), storage::Container::operator<(), storage::operator<<(), storage::Volume::operator==(), storage::Partition::operator==(), storage::Container::operator==(), and setDeleted().
bool storage::Device::silent [protected] |
Referenced by storage::MdPartCo::doCreate(), storage::MdCo::doCreate(), storage::LvmVg::doCreate(), storage::LoopCo::doCreate(), storage::DmPartCo::doCreate(), storage::Disk::doCreate(), storage::MdPartCo::doCreateLabel(), storage::DmPartCo::doCreateLabel(), storage::Disk::doCreateLabel(), storage::Btrfs::doCreateSubvol(), storage::LvmVg::doCreateVg(), storage::Volume::doCryptsetup(), storage::Dasd::doDasdfmt(), storage::Btrfs::doDeleteSubvol(), storage::Btrfs::doExtend(), storage::LvmVg::doExtendVg(), storage::Dasd::doFdasd(), storage::Volume::doFormat(), storage::Volume::doFstabUpdate(), storage::Volume::doLosetup(), storage::Volume::doMount(), storage::Btrfs::doReduce(), storage::LvmVg::doReduceVg(), storage::TmpfsCo::doRemove(), storage::NfsCo::doRemove(), storage::MdPartCo::doRemove(), storage::MdCo::doRemove(), storage::LvmVg::doRemove(), storage::LoopCo::doRemove(), storage::DmraidCo::doRemove(), storage::DmPartCo::doRemove(), storage::DmCo::doRemove(), storage::Disk::doRemove(), storage::LvmVg::doRemoveVg(), storage::MdPartCo::doResize(), storage::LvmVg::doResize(), storage::DmPartCo::doResize(), storage::Disk::doResize(), storage::Volume::doSetLabel(), storage::MdPartCo::doSetType(), storage::DmPartCo::doSetType(), storage::Disk::doSetType(), storage::Volume::equalContent(), storage::Container::equalContent(), isSilent(), storage::Container::logDifference(), storage::operator<<(), storage::MdPartCo::removePresentPartitions(), storage::DmPartCo::removePresentPartitions(), storage::Disk::removePresentPartitions(), and setSilent().
unsigned long long storage::Device::size_k [protected] |
Referenced by storage::Disk::addPartition(), storage::PeContainer::calcSize(), storage::Volume::canResize(), storage::Partition::changeRegion(), storage::Md::computeSize(), storage::MdPartCo::createDisk(), storage::DmPartCo::createDisk(), storage::Disk::defaultLabel(), storage::Dasd::detectPartitions(), Device(), storage::Disk::Disk(), storage::Volume::equalContent(), storage::Disk::equalContent(), storage::Volume::extendSize(), storage::Btrfs::extendVolume(), storage::Volume::forgetResize(), storage::Partition::forgetResize(), storage::Volume::getInfo(), storage::MdPartCo::handleWholeDevice(), storage::DmPartCo::handleWholeDevice(), storage::MdPartCo::init(), storage::DmPartCo::init(), storage::Dasd::initializeDisk(), storage::Volume::logDifference(), storage::Disk::logDifference(), storage::Volume::needExtend(), storage::Volume::needShrink(), storage::operator<<(), storage::Partition::Partition(), storage::Volume::resizeFs(), saveData(), storage::Volume::setFormat(), storage::Volume::setResizedSize(), storage::Volume::setSize(), storage::MdPartCo::setSize(), storage::Btrfs::shrinkVolume(), storage::DmPartCo::sizeK(), sizeK(), storage::MdPart::updateSize(), storage::DmPart::updateSize(), and storage::Volume::Volume().
unsigned long storage::Device::mjr [protected] |
Referenced by Device(), storage::Volume::equalContent(), storage::Disk::equalContent(), storage::Volume::getInfo(), getMajorMinor(), storage::Disk::getSysfsInfo(), logDifference(), majorNr(), storage::operator<<(), saveData(), storage::DmPart::updateMinor(), storage::MdPart::updateSize(), and storage::DmPart::updateSize().
unsigned long storage::Device::mnr [protected] |
Referenced by Device(), storage::Volume::doCryptsetup(), storage::Volume::equalContent(), storage::Disk::equalContent(), storage::Volume::getInfo(), storage::MdPartCo::getInfo(), storage::DmPartCo::getInfo(), getMajorMinor(), storage::Disk::getSysfsInfo(), logDifference(), minorNr(), storage::MdPartCo::nr(), storage::operator<<(), storage::DmPartCo::procName(), storage::Dm::procName(), saveData(), storage::Loop::setDmcryptDev(), storage::Dm::updateMajorMinor(), storage::DmPart::updateMinor(), and storage::DmPart::updateSize().
list<UsedBy> storage::Device::uby [protected] |
Referenced by addUsedBy(), clearUsedBy(), storage::Dm::Dm(), storage::Volume::equalContent(), storage::Container::equalContent(), storage::Volume::getInfo(), storage::Container::getInfo(), getUsedBy(), isUsedBy(), storage::Volume::logDifference(), storage::Container::logDifference(), storage::Md::Md(), storage::operator<<(), removeUsedBy(), saveData(), and setUsedBy().
list<string> storage::Device::alt_names [protected] |
Referenced by storage::Partition::addAltUdevId(), storage::MdPart::addAltUdevId(), storage::DmPart::addAltUdevId(), storage::Partition::addAltUdevPath(), altNames(), storage::Dm::Dm(), storage::Volume::doFstabUpdate(), storage::Volume::findBlkid(), storage::Volume::getFsData(), storage::Volume::getFstabData(), storage::Volume::getLoopData(), storage::Volume::getMountData(), storage::Dm::init(), storage::MdPartCo::initMd(), storage::Loop::Loop(), storage::LvmLv::LvmLv(), storage::Volume::mount(), storage::Nfs::Nfs(), storage::operator<<(), storage::Volume::replaceAltName(), sameDevice(), setAltNames(), storage::MdPartCo::setUdevData(), storage::Md::setUdevData(), storage::DmPartCo::setUdevData(), storage::Disk::setUdevData(), and storage::Volume::updateUuid().
1.5.6