| typedef void(* storage::CallbackInfoPopup)(const string &text) |
typedef for a pointer to a function that displays a popup with the given text and waits for user confirmation
| typedef bool(* storage::CallbackPasswordPopup)(const string &device, int attempts, string &password) |
typedef for a pointer to a function that ask for the password of the given device. If the user does not want to decrypt the device false is returned, true otherwise.
| typedef void(* storage::CallbackProgressBar)(const string &id, unsigned cur, unsigned max) |
typedef for a pointer to a function that is called on progress bar events
| typedef void(* storage::CallbackShowInstallInfo)(const string &id) |
typedef for a pointer to a function that is called with strings telling the user what is currently going on
| typedef bool(* storage::CallbackYesNoPopup)(const string &text) |
typedef for a pointer to a function that displays a popup with the given text and two buttons labels "Yes" and "No". The user has to press on of these buttons. If the user presses "Yes" true is returned, false otherwise.
| enum storage::CommitStage |
| enum storage::CType |
| enum storage::EncryptType |
| enum storage::ErrorCodes |
preliminary list of error codes, must have negative values
| enum storage::FsType |
| enum storage::ImsmDriver |
| enum storage::LogLevel |
| enum storage::MdParity |
| enum storage::MdType |
| enum storage::MountByType |
| enum storage::UsedByType |
| const char* storage::_ | ( | const char * | msgid, | |
| const char * | msgid_plural, | |||
| unsigned long int | n | |||
| ) | [inline] |
| const char* storage::_ | ( | const char * | msgid | ) | [inline] |
Referenced by storage::EtcFstab::addText(), storage::Dasd::checkFdasdOutput(), storage::Disk::checkPartedOutput(), 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::LvmVg::createVgText(), storage::Volume::crsetupText(), storage::Dasd::dasdfmtText(), storage::Dasd::dasdfmtTexts(), storage::Disk::detectPartitions(), storage::Storage::discoverMdPVols(), storage::LvmVg::extendVgText(), 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(), getSuffix(), storage::Volume::labelText(), storage::Volume::losetupText(), storage::Volume::mountText(), storage::LvmVg::reduceVgText(), storage::Volume::removeText(), storage::Partition::removeText(), storage::Nfs::removeText(), storage::MdPartCo::removeText(), storage::Md::removeText(), storage::LvmLv::removeText(), storage::Loop::removeText(), storage::EtcFstab::removeText(), storage::DmraidCo::removeText(), storage::Dmraid::removeText(), storage::DmPartCo::removeText(), storage::Dmmultipath::removeText(), storage::Dm::removeText(), storage::Container::removeText(), storage::LvmVg::removeVgText(), storage::Volume::resizeText(), storage::Partition::resizeText(), storage::LvmLv::resizeText(), storage::Dmraid::resizeText(), storage::Dmmultipath::resizeText(), storage::MdPartCo::setDiskLabelText(), storage::DmraidCo::setDiskLabelText(), storage::DmPartCo::setDiskLabelText(), storage::DmmultipathCo::setDiskLabelText(), storage::Disk::setDiskLabelText(), storage::Partition::setTypeText(), storage::MdPart::setTypeText(), storage::Dmraid::setTypeText(), storage::DmPart::setTypeText(), storage::Dmmultipath::setTypeText(), and storage::EtcFstab::updateText().
| string storage::byteToHumanString | ( | unsigned long long | size, | |
| bool | classic, | |||
| int | precision, | |||
| bool | omit_zeroes | |||
| ) |
References classic(), getSuffix(), and numSuffixes().
Referenced by storage::Storage::byteToHumanString(), and storage::Volume::sizeString().
| bool storage::checkBlockDevice | ( | string | Path_Cv | ) |
| bool storage::checkDir | ( | string | Path_Cv | ) |
Referenced by storage::EtcFstab::flush(), storage::Storage::getFreeInfo(), and storage::Storage::rootMounted().
| bool storage::checkNormalFile | ( | string | Path_Cv | ) |
| bool storage::checkSymlink | ( | string | Path_Cv | ) |
| void storage::classic | ( | StreamType & | stream | ) | [inline] |
Referenced by storage::AsciiFile::appendFile(), byteToHumanString(), storage::CmdMultipath::CmdMultipath(), decString(), storage::Volume::detectEncryption(), storage::Dasd::detectPartitions(), storage::Disk::doCreate(), storage::Disk::doCreateLabel(), storage::Volume::doCryptsetup(), storage::Dasd::doFdasd(), storage::Volume::doLosetup(), storage::Disk::doRemove(), storage::Disk::doResize(), storage::Disk::doSetType(), storage::Storage::dumpObjectList(), storage::MdPartCo::findMdMap(), storage::Dm::getDevice(), storage::Container::getDiffString(), storage::Volume::getFsData(), storage::Volume::getFstabData(), storage::Volume::getLoopData(), storage::MdPartCo::getMajorMinor(), storage::MdCo::getMdData(), storage::MdPartCo::getMdRaids(), storage::Disk::getPartedSectors(), storage::Disk::getPartedValues(), storage::Volume::getStartData(), storage::Md::getState(), storage::Disk::getSysfsInfo(), storage::MdPartCo::getUuidName(), hexString(), humanStringToByte(), storage::Storage::initialize(), storage::AsciiFile::insertFile(), storage::Storage::logCo(), storage::Disk::logData(), storage::Volume::logDifference(), storage::MdPartCo::logDifference(), storage::Md::logDifference(), storage::Storage::logSystemInfo(), storage::Storage::logVolumes(), storage::Md::Md(), operator>>(), storage::Partition::Partition(), prepareLogStream(), printFile(), storage::ProcMounts::ProcMounts(), storage::EtcFstab::readFiles(), storage::MdPartCo::readProp(), storage::AsciiFile::saveToFile(), storage::Dasd::scanFdasdLine(), storage::Disk::scanPartedLine(), storage::MdPartCo::setMetaData(), storage::Volume::setNameDev(), storage::Storage::sortCommitLists(), storage::Storage::Storage(), storage::Dm::stringDifference(), storage::Volume::triggerUdevUpdate(), and storage::AsciiFile::updateFile().
| void storage::createLogger | ( | const string & | lcomponent, | |
| const string & | name, | |||
| const string & | logpath, | |||
| const string & | logfile | |||
| ) |
| void storage::createPath | ( | string | Path_Cv | ) |
| StorageInterface * storage::createStorageInterface | ( | const Environment & | env | ) |
Factory for creating a concrete StorageInterface object.
Throws an exception when locking fails.
References storage::Storage::Storage().
| StorageInterface* storage::createStorageInterfacePid | ( | const Environment & | env, | |
| int & | locker_pid | |||
| ) |
Factory for creating a concrete StorageInterface object.
Returns NULL if locking failed. In that case locker_pid is set to the pid of one process holding a conflicting lock. If the pid cannot be determined it is set to 0. The lock holder may run on another system.
| StorageInterface* storage::createStorageInterfacePid | ( | const Environment & | env, | |
| pid_t & | locker_pid | |||
| ) |
References storage::LockException::getLockerPid(), and storage::Storage::Storage().
| string storage::decString | ( | Num | number | ) | [inline] |
References classic().
Referenced by storage::Md::createCmd(), storage::Loop::createFile(), storage::MdCo::createMd(), storage::Storage::createMdAny(), storage::Storage::detectDmmultipath(), storage::Storage::detectDmraid(), storage::Disk::Disk(), storage::Dm::dmDeviceName(), storage::Dm::dmName(), storage::LvmVg::doCreate(), storage::Disk::doCreate(), storage::LvmVg::doCreateVg(), storage::Dasd::doFdasd(), storage::Volume::doFormat(), storage::LvmVg::doResize(), storage::MdCo::extendMd(), storage::PeContainer::getDiffString(), storage::DmCo::getDmData(), storage::Volume::getFreeLoop(), storage::MdCo::getMdData(), storage::Disk::getPartName(), storage::Storage::handleLogFile(), storage::DmPartCo::init(), storage::Volume::logDifference(), storage::Partition::logDifference(), storage::MdPartCo::logDifference(), storage::Md::logDifference(), storage::Disk::logDifference(), storage::Loop::loopDeviceName(), storage::EtcFstab::makeStringList(), storage::Md::mdDevice(), storage::Storage::nextFreeMd(), storage::LvmVg::normalizeDmDevices(), storage::MdPartCo::numToName(), storage::DmPartCo::numToName(), storage::MdPartCo::raidtabLines(), storage::Md::raidtabLines(), storage::Storage::removeDmTableTo(), storage::Volume::resizeFs(), storage::Loop::setDmcryptDev(), storage::Dm::stringDifference(), udevAppendPart(), udevCompleteIdPath(), udevCompleteIdPath(), udevCompletePathPath(), storage::Dm::updateMajorMinor(), storage::DmPart::updateMinor(), storage::DmPart::updateSize(), and storage::Storage::zeroDevice().
| void storage::destroyStorageInterface | ( | StorageInterface * | ) |
Destroy a StorageInterface object.
| string storage::dupDash | ( | const string & | s | ) |
Referenced by storage::LvmLv::LvmLv().
| string storage::extractNthWord | ( | int | Num_iv, | |
| const string & | Line_Cv, | |||
| bool | GetRest_bi | |||
| ) |
References app_ws.
Referenced by storage::EtcRaidtab::buildMdadmMap(), storage::Dasd::checkFdasdOutput(), storage::Disk::checkPartedOutput(), storage::CmdMultipath::CmdMultipath(), storage::Storage::detectArch(), storage::DmCo::detectEncryption(), storage::Storage::detectObjects(), storage::Disk::detectPartitions(), storage::Dasd::detectPartitions(), storage::Disk::Disk(), storage::EtcFstab::flush(), storage::Dm::getDevice(), storage::DmCo::getDmData(), storage::Disk::getGeometry(), storage::Dasd::getGeometry(), storage::ProcPart::getInfo(), storage::EtcRaidtab::getLineType(), getMajorDevices(), storage::MdCo::getMdData(), storage::MdPartCo::getMdRaids(), storage::ProcPart::getSize(), storage::LvmLv::getState(), storage::Dm::getTableInfo(), storage::MdPartCo::getUuidName(), storage::LvmVg::getVgData(), storage::Storage::handleHald(), storage::Md::Md(), storage::ProcMounts::ProcMounts(), storage::ProcPart::ProcPart(), storage::MdPartCo::scanForRaid(), and storage::Storage::testFilesEqual().
| unsigned storage::getMajorDevices | ( | const string & | driver | ) |
References extractNthWord(), storage::SystemCmd::getLine(), storage::SystemCmd::numLines(), and y2mil.
Referenced by storage::Dm::getDmMajor(), storage::Loop::getLoopMajor(), storage::MdPartCo::getMdMajor(), and storage::Md::getMdMajor().
| void storage::getRevUdevMap | ( | const char * | path, | |
| map< string, string > & | m | |||
| ) |
| string storage::getSuffix | ( | int | i, | |
| bool | classic, | |||
| bool | sloppy = false | |||
| ) |
| map<string, string> storage::getUdevLinks | ( | const char * | path | ) |
| void storage::getUdevMap | ( | const char * | path, | |
| map< string, list< string >> & | m | |||
| ) |
References getUdevLinks(), and y2mil.
Referenced by storage::Storage::autodetectDisks(), storage::Storage::detectDmmultipath(), storage::Storage::detectDmraid(), and storage::Storage::detectMdParts().
| string storage::hexString | ( | Num | number | ) | [inline] |
| bool storage::humanStringToByte | ( | const string & | str, | |
| bool | classic, | |||
| unsigned long long & | size | |||
| ) |
References classic(), getSuffix(), and numSuffixes().
Referenced by storage::Storage::humanStringToByte().
| void storage::initDefaultLogger | ( | ) |
Initializes default logging.
| bool storage::isNfsDev | ( | const string & | dev | ) |
Referenced by normalizeDevice().
| unsigned int storage::lengthof | ( | T(&) | [sz] | ) | [inline] |
Referenced by storage::Storage::commitPair(), storage::EtcFstab::createCrtabLine(), storage::EtcFstab::createTabLine(), storage::Volume::detectEncryption(), storage::Storage::getFreeInfo(), storage::NfsCo::getNfsData(), storage::Volume::isTmpCryptMp(), storage::Volume::mount(), and storage::Disk::needP().
| void storage::logMsg | ( | LogLevel | level, | |
| const char * | file, | |||
| unsigned | line, | |||
| const char * | func, | |||
| const string & | str | |||
| ) |
| void storage::logMsgVaArgs | ( | LogLevel | level, | |
| const char * | file, | |||
| unsigned | line, | |||
| const char * | func, | |||
| const char * | format, | |||
| ... | ||||
| ) |
References logMsg(), str, and testLogLevel().
| IterPair<Iter> storage::MakeIterPair | ( | Container & | c | ) | [inline] |
References storage::Container::begin(), and storage::Container::end().
| std::map< string, string > storage::makeMap | ( | const list< string > & | l, | |
| const string & | delim, | |||
| const string & | removeSur | |||
| ) |
Referenced by storage::Volume::getFsData(), and storage::Volume::getTestmodeData().
| Map::iterator storage::mapInsertOrReplace | ( | Map & | m, | |
| const Key & | k, | |||
| const Value & | v | |||
| ) | [inline] |
Referenced by storage::Storage::setCryptPassword().
| string storage::mergeString | ( | const list< string > & | l, | |
| const string & | del | |||
| ) |
Referenced by storage::Storage::addFstabOptions(), storage::Dasd::doDasdfmt(), storage::Volume::doLosetup(), storage::Volume::getFstabData(), storage::Partition::getInfo(), storage::Disk::getInfo(), storage::NfsCo::getNfsData(), storage::EtcFstab::makeCrStringList(), storage::EtcFstab::makeStringList(), storage::Volume::mergeFstabInfo(), storage::Volume::mount(), operator<<(), storage::Storage::readFstab(), storage::Storage::removeFstabOptions(), and storage::Volume::updateFstabOptions().
| void storage::normalizeDevice | ( | string & | dev | ) |
References isNfsDev().
| string storage::normalizeDevice | ( | const string & | dev | ) |
Referenced by storage::Md::addDevice(), storage::Md::addSpareDevice(), storage::MdCo::createMd(), storage::Dasd::doDasdfmt(), storage::MdCo::extendMd(), storage::LvmVg::extendVg(), storage::Storage::findDisk(), storage::Storage::findVolume(), storage::Container::findVolume(), storage::Volume::getMajorMinor(), storage::MdCo::getMdData(), storage::LvmVg::init(), storage::LvmLv::init(), storage::Md::Md(), storage::ProcMounts::ProcMounts(), storage::LvmVg::reduceVg(), storage::Md::removeDevice(), storage::Volume::sameDevice(), and storage::MdCo::shrinkMd().
| int storage::numSuffixes | ( | ) |
Referenced by byteToHumanString(), and humanStringToByte().
| bool storage::operator< | ( | CType | a, | |
| CType | b | |||
| ) | [inline] |
References COTYPE_LAST_ENTRY, and y2mil.
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const Volume & | v | |||
| ) |
References storage::Volume::alt_names, storage::Volume::create, storage::Volume::crypt_pwd, storage::Volume::del, storage::Volume::detected_fs, storage::Volume::dev, storage::Volume::dmcrypt_active, storage::Volume::dmcrypt_dev, storage::Volume::dtxt, storage::Volume::enc_names, ENC_NONE, storage::Volume::encryption, storage::Volume::format, storage::Volume::fs, storage::Volume::fs_names, storage::Volume::fstab_loop_dev, storage::Volume::fstab_opt, FSUNKNOWN, storage::Volume::ignore_fs, storage::Volume::ignore_fstab, storage::Volume::is_loop, storage::Volume::is_mounted, storage::Volume::label, storage::Volume::loop_active, storage::Volume::loop_dev, storage::Volume::mb_names, storage::Volume::mjr, storage::Volume::mkfs_opt, storage::Volume::mnr, storage::Volume::mount_by, MOUNTBY_DEVICE, storage::Volume::mp, storage::Volume::nm, storage::Volume::num, storage::Volume::numeric, storage::Volume::orig_crypt_pwd, storage::Volume::orig_encryption, storage::Volume::orig_fstab_opt, storage::Volume::orig_label, storage::Volume::orig_mount_by, storage::Volume::orig_mp, storage::Volume::orig_size_k, storage::Volume::ronly, storage::Volume::silnt, storage::Volume::size_k, storage::Volume::tunefs_opt, storage::Volume::uby, and storage::Volume::uuid.
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const usedBy & | d | |||
| ) |
References storage::usedBy::type(), and UB_NONE.
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const std::map< Key, Value > & | m | |||
| ) | [inline] |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const std::pair< F, S > & | p | |||
| ) | [inline] |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const std::deque< Value > & | l | |||
| ) | [inline] |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const std::list< Value > & | l | |||
| ) | [inline] |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| commitAction & | a | |||
| ) | [inline] |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| Storage & | v | |||
| ) |
References storage::Storage::printInfo().
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const storage::DiskData & | d | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const Environment & | env | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const Region & | p | |||
| ) | [inline] |
References storage::Region::len(), and storage::Region::start().
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const PeContainer::Pv & | v | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const PeContainer & | d | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const Partition & | p | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const NfsCo & | d | |||
| ) | [inline] |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const Nfs & | l | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const MdPartCo & | d | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const MdPart & | p | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const MdCo & | d | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const Md & | m | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const LvmVg & | d | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const LvmLv & | p | |||
| ) |
References storage::LvmLv::allocation, storage::LvmLv::status, and storage::LvmLv::vol_uuid.
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const LoopCo & | d | |||
| ) | [inline] |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const Loop & | l | |||
| ) |
References storage::Loop::delFile, storage::Loop::lfile, and storage::Loop::reuseFile.
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const EtcRaidtab::entry & | v | |||
| ) | [inline] |
References storage::EtcRaidtab::entry::first, and storage::EtcRaidtab::entry::last.
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const FstabChange & | v | |||
| ) | [inline] |
References storage::FstabChange::dentry, storage::FstabChange::device, ENC_NONE, storage::FstabChange::encr, storage::FstabChange::freq, storage::FstabChange::fs, storage::FstabChange::loop_dev, mergeString(), storage::FstabChange::mount, storage::FstabChange::opts, storage::FstabChange::passno, and storage::FstabChange::tmpcrypt.
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const FstabEntry & | v | |||
| ) | [inline] |
References storage::FstabEntry::cr_key, storage::FstabEntry::cr_opts, storage::FstabEntry::cryptotab, storage::FstabEntry::crypttab, storage::FstabEntry::dentry, storage::FstabEntry::device, storage::FstabEntry::dmcrypt, ENC_NONE, storage::FstabEntry::encr, storage::FstabEntry::freq, storage::FstabEntry::fs, storage::FstabEntry::loop, storage::FstabEntry::loop_dev, mergeString(), storage::FstabEntry::mount, storage::FstabEntry::noauto, storage::FstabEntry::opts, storage::FstabEntry::passno, and storage::FstabEntry::tmpcrypt.
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const DmraidCo & | d | |||
| ) |
References storage::DmraidCo::controller, and storage::DmraidCo::raidtype.
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const Dmraid & | p | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const DmPartCo & | d | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const DmPart & | p | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const DmmultipathCo & | d | |||
| ) |
References storage::DmmultipathCo::model, and storage::DmmultipathCo::vendor.
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const Dmmultipath & | p | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const DmCo & | d | |||
| ) | [inline] |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const Dm & | p | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const Disk & | d | |||
| ) |
References storage::Disk::cyl, storage::Disk::detected_label, storage::Disk::dmp_slave, storage::Disk::ext_possible, storage::Disk::gpt_enlarge, storage::Disk::head, storage::Disk::init_disk, storage::Disk::iscsi, storage::Disk::label, storage::Disk::max_logical, storage::Disk::max_primary, storage::Container::mjr, storage::Container::mnr, storage::Disk::range, storage::Disk::sector, storage::Container::size_k, storage::Disk::sysfs_dir, storage::Disk::udev_id, and storage::Disk::udev_path.
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const Dasd & | d | |||
| ) |
References storage::Dasd::fmt.
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const Container & | c | |||
| ) |
| bool storage::operator<= | ( | CType | a, | |
| CType | b | |||
| ) | [inline] |
| bool storage::operator> | ( | CType | a, | |
| CType | b | |||
| ) | [inline] |
| bool storage::operator>= | ( | CType | a, | |
| CType | b | |||
| ) | [inline] |
| void storage::operator>> | ( | const string & | d, | |
| Value & | v | |||
| ) | [inline] |
References classic().
| std::istream& storage::operator>> | ( | std::istream & | s, | |
| Region & | p | |||
| ) | [inline] |
| void storage::pointerIntoSortedList | ( | std::list< C * > & | l, | |
| C * | e | |||
| ) | [inline] |
| void void storage::prepareLogStream | ( | std::ostringstream & | s | ) |
References classic().
| void storage::printDevList | ( | std::ostream & | s, | |
| const std::list< PeContainer::Pv > & | l | |||
| ) |
| string storage::quote | ( | const std::list< string > & | strs | ) | [inline] |
Referenced by quote().
| string storage::quote | ( | const string & | str | ) | [inline] |
References quote().
Referenced by storage::DmPartCo::activate_part(), storage::Md::createCmd(), storage::Loop::createFile(), storage::Volume::cryptUnsetup(), storage::Volume::detectEncryption(), storage::DmCo::detectEncryption(), storage::Storage::detectObjects(), storage::Disk::detectPartitions(), storage::Dasd::detectPartitions(), storage::Dasd::detectPartitionsFdasd(), storage::Dm::dmNumber(), storage::LvmVg::doCreate(), storage::Disk::doCreate(), storage::Disk::doCreateLabel(), storage::LvmVg::doCreatePv(), storage::LvmVg::doCreateVg(), storage::Volume::doCryptsetup(), storage::Dasd::doDasdfmt(), storage::LvmVg::doExtendVg(), storage::Dasd::doFdasd(), storage::Volume::doFormat(), storage::Volume::doFstabUpdate(), storage::Volume::doLosetup(), storage::LvmVg::doReduceVg(), storage::MdPartCo::doRemove(), storage::MdCo::doRemove(), storage::LvmVg::doRemove(), storage::DmraidCo::doRemove(), storage::DmCo::doRemove(), storage::Disk::doRemove(), storage::LvmVg::doRemoveVg(), storage::LvmVg::doResize(), storage::Disk::doResize(), storage::Volume::doSetLabel(), storage::Disk::doSetType(), storage::Disk::enlargeGpt(), storage::Volume::getCryptsetupCmd(), storage::Dm::getDevice(), storage::Storage::getFreeInfo(), storage::Volume::getLosetupCmd(), storage::Md::getParent(), storage::Disk::getPartedSectors(), storage::Disk::getPartedValues(), storage::DmraidCo::getRaidData(), storage::Md::getState(), storage::LvmLv::getState(), storage::Dm::getTableInfo(), storage::MdPartCo::getUuidName(), storage::LvmVg::getVgData(), storage::MdPartCo::hasFileSystem(), storage::MdPartCo::hasPartitionTable(), storage::DmPartCo::init(), storage::DmraidCo::isActivated(), storage::DmmultipathCo::isActivated(), storage::Volume::loUnsetup(), storage::Md::Md(), storage::Volume::mount(), storage::Disk::redetectGeometry(), storage::Storage::removeDmTable(), storage::Volume::resizeFs(), storage::Storage::testFilesEqual(), storage::Volume::umount(), storage::Volume::updateFsData(), and storage::Storage::zeroDevice().
| bool storage::readlink | ( | const string & | path, | |
| string & | buf | |||
| ) |
Referenced by storage::Disk::getSysfsInfo(), and getUdevLinks().
| bool storage::searchFile | ( | AsciiFile & | File_Cr, | |
| string | Pat_Cv, | |||
| string & | Line_Cr, | |||
| int & | LineNr_ir | |||
| ) |
References storage::AsciiFile::find(), and storage::AsciiFile::numLines().
| bool storage::searchFile | ( | AsciiFile & | File_Cr, | |
| string | Pat_Cv, | |||
| string & | Line_Cr | |||
| ) |
Referenced by storage::Disk::Disk().
| string storage::sformat | ( | const char * | format, | |
| ... | ||||
| ) |
References str.
Referenced by storage::EtcFstab::addText(), storage::Dasd::checkFdasdOutput(), storage::Disk::checkPartedOutput(), 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::LvmVg::createVgText(), storage::Volume::crsetupText(), storage::Dasd::dasdfmtText(), storage::Dasd::dasdfmtTexts(), storage::Disk::detectPartitions(), storage::Storage::discoverMdPVols(), storage::LvmVg::extendVgText(), 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::labelText(), storage::Volume::losetupText(), storage::Volume::mountText(), storage::LvmVg::reduceVgText(), storage::Volume::removeText(), storage::Partition::removeText(), storage::Nfs::removeText(), storage::MdPartCo::removeText(), storage::Md::removeText(), storage::LvmLv::removeText(), storage::Loop::removeText(), storage::EtcFstab::removeText(), storage::DmraidCo::removeText(), storage::Dmraid::removeText(), storage::DmPartCo::removeText(), storage::Dmmultipath::removeText(), storage::Dm::removeText(), storage::Container::removeText(), storage::LvmVg::removeVgText(), storage::Volume::resizeText(), storage::Partition::resizeText(), storage::LvmLv::resizeText(), storage::Dmraid::resizeText(), storage::Dmmultipath::resizeText(), storage::MdPartCo::setDiskLabelText(), storage::DmraidCo::setDiskLabelText(), storage::DmPartCo::setDiskLabelText(), storage::DmmultipathCo::setDiskLabelText(), storage::Disk::setDiskLabelText(), storage::Partition::setTypeText(), storage::MdPart::setTypeText(), storage::Dmraid::setTypeText(), storage::DmPart::setTypeText(), storage::Dmmultipath::setTypeText(), and storage::EtcFstab::updateText().
| std::list< string > storage::splitString | ( | const string & | s, | |
| const string & | delChars, | |||
| bool | multipleDelim, | |||
| bool | skipEmpty, | |||
| const string & | quotes | |||
| ) |
Referenced by storage::Storage::addFstabEntry(), storage::Storage::addFstabOptions(), storage::CmdMultipath::CmdMultipath(), storage::Dm::dmNumber(), storage::Volume::doFormat(), storage::Volume::doLosetup(), storage::Storage::dumpObjectList(), storage::Storage::getContVolInfo(), storage::Dm::getDevice(), storage::Volume::getFsData(), storage::Volume::getFstabOpts(), storage::Disk::getGeometry(), storage::Volume::getLoopData(), storage::DmraidCo::getRaidData(), storage::DmraidCo::getRaids(), storage::Dm::getTableInfo(), storage::Volume::getTestmodeData(), haveQuota(), storage::EtcFstab::makeCrStringList(), storage::Volume::mount(), storage::Volume::optNoauto(), storage::Mke2fsScrollbar::process(), storage::ProcMounts::ProcMounts(), storage::EtcFstab::readFiles(), and storage::Storage::removeFstabOptions().
| bool storage::testLogLevel | ( | LogLevel | level | ) |
| static bool storage::toChangeId | ( | const MdPart & | d | ) | [static] |
References storage::Volume::deleted(), storage::MdPart::getPtr(), and toChangeId().
Referenced by storage::MdPartCo::getToCommit(), and storage::DmPartCo::getToCommit().
| string storage::udevAppendPart | ( | const string & | s, | |
| unsigned | num | |||
| ) |
| static string storage::udevCompleteIdPath | ( | const string & | s, | |
| unsigned | nr | |||
| ) | [static] |
References decString().
Referenced by storage::Partition::addAltUdevId(), storage::MdPart::addAltUdevId(), and storage::DmPart::addAltUdevId().
| void storage::undevDevice | ( | string & | dev | ) |
| string storage::undevDevice | ( | const string & | dev | ) |
Referenced by storage::ProcPart::devName(), storage::Dm::devToTable(), storage::Disk::Disk(), storage::Dasd::doDasdfmt(), storage::Storage::getContVolInfo(), storage::Volume::loopStringNum(), storage::MdPartCo::mdStringNum(), storage::Md::mdStringNum(), storage::Partition::Partition(), storage::Storage::removeLvmLvByDevice(), and storage::Partition::sysfsPath().
| const string storage::app_ws = " \t\n" |
const blocxx::String storage::component = "libstorage" [static] |
Referenced by logMsg().
Referenced by storage::Storage::getCallbackInfoPopupTheOne(), and StorageCallbacks::InfoPopup().
Referenced by storage::Storage::getCallbackPasswordPopupTheOne(), and StorageCallbacks::PasswordPopup().
Referenced by storage::Storage::getCallbackProgressBarTheOne(), and StorageCallbacks::ProgressBar().
Referenced by storage::Storage::getCallbackYesNoPopupTheOne(), and StorageCallbacks::YesNoPopup().
1.5.6