| 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 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 he 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::MdParity |
| enum storage::MdType |
| enum storage::MountByType |
| enum storage::ObjType |
| enum storage::UsedByType |
| const char* storage::_ | ( | const char * | msgid1, | |
| const char * | msgid2, | |||
| unsigned long int | n | |||
| ) | [inline] |
| const char* storage::_ | ( | const char * | msgid | ) | [inline] |
Referenced by storage::EtcFstab::addText(), storage::Dasd::checkFdasdOutput(), storage::Disk::checkPartedOutput(), storage::EvmsCo::createCoText(), storage::Volume::createText(), storage::Partition::createText(), storage::Md::createText(), storage::LvmLv::createText(), storage::Loop::createText(), storage::Evms::createText(), storage::Dmraid::createText(), storage::Container::createText(), storage::LvmVg::createVgText(), storage::Volume::crsetupText(), storage::Dasd::dasdfmtText(), storage::Dasd::dasdfmtTexts(), storage::Disk::detectPartitions(), storage::EvmsCo::extendCoText(), storage::LvmVg::extendVgText(), storage::Dasd::fdasdText(), storage::Volume::formatText(), storage::Partition::formatText(), storage::Md::formatText(), storage::LvmLv::formatText(), storage::Loop::formatText(), storage::Evms::formatText(), storage::Dmraid::formatText(), storage::Dm::formatText(), storage::Volume::labelText(), storage::Volume::losetupText(), storage::Volume::mountText(), storage::EvmsCo::reduceCoText(), storage::LvmVg::reduceVgText(), storage::EvmsCo::removeCoText(), storage::Volume::removeText(), storage::Partition::removeText(), storage::Nfs::removeText(), storage::Md::removeText(), storage::LvmLv::removeText(), storage::Loop::removeText(), storage::Evms::removeText(), storage::EtcFstab::removeText(), storage::DmraidCo::removeText(), storage::Dmraid::removeText(), storage::DmPartCo::removeText(), storage::Dm::removeText(), storage::Container::removeText(), storage::LvmVg::removeVgText(), storage::Volume::resizeText(), storage::Partition::resizeText(), storage::LvmLv::resizeText(), storage::Evms::resizeText(), storage::Dmraid::resizeText(), storage::DmraidCo::setDiskLabelText(), storage::DmPartCo::setDiskLabelText(), storage::Disk::setDiskLabelText(), storage::Partition::setTypeText(), storage::Dmraid::setTypeText(), storage::DmPart::setTypeText(), and storage::EtcFstab::updateText().
| bool storage::checkBlockDevice | ( | string | Path_Cv | ) |
| bool storage::checkDir | ( | string | Path_Cv | ) |
Referenced by storage::EtcFstab::flush(), storage::Storage::getFreeInfo(), and storage::MdCo::syncRaidtab().
| bool storage::checkNormalFile | ( | string | Path_Cv | ) |
Referenced by storage::LoopCo::getLoopData().
| bool storage::checkSymlink | ( | string | Path_Cv | ) |
| int storage::compareGt | ( | string | Lhs_Cv, | |
| string | Rhs_Cv | |||
| ) |
| StorageInterface * storage::createDefaultStorageInterface | ( | ) |
Factory for creating a concrete StorageInterface object.
References storage::Storage::Storage().
| int storage::createLogger | ( | const string & | lcomponent, | |
| const string & | name, | |||
| const string & | logpath, | |||
| const string & | logfile | |||
| ) |
References component, decString(), and String.
Referenced by storage::Storage::initDefaultLogger(), and main().
| void storage::createPath | ( | string | Path_Cv | ) |
| StorageInterface * storage::createStorageInterface | ( | bool | readonly, | |
| bool | testmode, | |||
| bool | autodetect | |||
| ) |
Factory for creating a concrete StorageInterface object.
References storage::Storage::Storage().
| string storage::decString | ( | Num | number | ) | [inline] |
Referenced by storage::EvmsContainerObject::addRelation(), storage::EvmsAccess::changeLvSize(), storage::Md::createCmd(), storage::Loop::createFile(), createLogger(), storage::EvmsAccess::createLv(), storage::Storage::createMdAny(), storage::EvmsAccess::deleteLv(), storage::Storage::detectDmraid(), storage::Disk::Disk(), storage::Dm::dmDeviceName(), storage::Dm::dmName(), storage::MdCo::doCreate(), storage::LvmVg::doCreate(), storage::EvmsCo::doCreate(), storage::Disk::doCreate(), storage::EvmsCo::doCreateCo(), storage::LvmVg::doCreateVg(), storage::Dasd::doFdasd(), storage::Volume::doFormat(), storage::LvmVg::doResize(), storage::EvmsCo::doResize(), storage::EvmsAccess::extendCo(), storage::MdCo::extendMd(), storage::PeContainer::getDiffString(), storage::DmCo::getDmData(), storage::MdCo::getMdData(), storage::Disk::getPartName(), storage::Storage::handleEvmsRemoveDevice(), storage::Storage::handleLogFile(), storage::DmPartCo::init(), kbyteToHumanString(), storage::Volume::logDifference(), storage::Partition::logDifference(), storage::Md::logDifference(), storage::Disk::logDifference(), storage::Loop::loopDeviceName(), storage::LvmVg::normalizeDmDevices(), storage::DmPartCo::numToName(), storage::Storage::removeDmTableTo(), storage::Volume::resizeFs(), storage::Loop::setDmcryptDev(), storage::Dm::stringDifference(), udevCompleteIdPath(), udevCompletePathPath(), storage::Dm::updateMajorMinor(), storage::Evms::updateMd(), storage::DmPart::updateMinor(), and storage::DmPart::updateSize().
| void storage::delay | ( | int | Microsec_iv | ) |
Referenced by storage::Storage::checkDeviceExclusive().
| 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, | |
| string | Line_Cv, | |||
| bool | GetRest_bi | |||
| ) |
References app_ws.
Referenced by storage::EtcRaidtab::buildMdadmMap(), storage::Dasd::checkFdasdOutput(), storage::Disk::checkPartedOutput(), storage::Storage::detectArch(), storage::DmCo::detectEncryption(), storage::Storage::detectMultipath(), storage::Storage::detectObjects(), storage::Disk::detectPartitions(), storage::Dasd::detectPartitions(), storage::Disk::Disk(), EvmsCreateCoCmd(), EvmsCreateCompatVolume(), EvmsCreateLvCmd(), EvmsDeleteCoCmd(), EvmsDeleteLvCmd(), EvmsExtendCoCmd(), EvmsResizeLvCmd(), EvmsShrinkCoCmd(), storage::EtcFstab::flush(), storage::Dm::getDevice(), storage::DmCo::getDmData(), storage::Disk::getGeometry(), storage::Dasd::getGeometry(), storage::ProcPart::getInfo(), getMajorDevices(), storage::MdCo::getMdData(), storage::ProcPart::getSize(), storage::Dm::getTableInfo(), storage::LvmVg::getVgData(), storage::Storage::handleHald(), loop_cin(), loop_socket(), storage::Md::Md(), storage::ProcMounts::ProcMounts(), storage::ProcPart::ProcPart(), putNthWord(), and storage::Storage::testFilesEqual().
| void storage::getFindMap | ( | const char * | path, | |
| std::map< string, string > & | m, | |||
| bool | unique = true | |||
| ) |
| void storage::getFindMap | ( | const char * | path, | |
| map< string, string > & | m, | |||
| bool | unique | |||
| ) |
References splitString(), and y2mil.
Referenced by storage::Storage::autodetectDisks(), and storage::Storage::detectDmraid().
| void storage::getFindRevMap | ( | const char * | path, | |
| std::map< string, string > & | m | |||
| ) |
| void storage::getFindRevMap | ( | const char * | path, | |
| map< string, string > & | ret | |||
| ) |
| int storage::getGid | ( | string | Name_Cv | ) |
References getGid().
| bool storage::getGid | ( | string | Name_Cv, | |
| unsigned & | Gid_ir | |||
| ) |
Referenced by getGid().
| unsigned storage::getMajorDevices | ( | const string & | driver | ) |
References extractNthWord(), storage::SystemCmd::getLine(), storage::SystemCmd::numLines(), and y2mil.
Referenced by storage::Dm::getDmMajor(), storage::Loop::getLoopMajor(), and storage::Md::getMdMajor().
| int storage::getUid | ( | string | Name_Cv | ) |
References getUid().
| bool storage::getUid | ( | string | Name_Cv, | |
| unsigned & | Uid_ir | |||
| ) |
Referenced by getUid().
| string storage::hexString | ( | Num | number | ) | [inline] |
Referenced by storage::Partition::logDifference().
| void storage::initDefaultLogger | ( | ) |
| bool storage::isNfsDev | ( | const string & | dev | ) |
Referenced by normalizeDevice().
| string storage::kbyteToHumanString | ( | unsigned long long | sizeK | ) |
| 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(), storage::Disk::needP(), and searchExecCmd().
| void storage::log_msg | ( | unsigned | level, | |
| const char * | file, | |||
| unsigned | line, | |||
| const char * | func, | |||
| const char * | add_str, | |||
| const char * | format, | |||
| ... | ||||
| ) |
| IterPair<Iter> storage::MakeIterPair | ( | Container & | c | ) | [inline] |
References storage::Container::begin(), and storage::Container::end().
| std::map<string,string> storage::makeMap | ( | const std::list< string > & | l, | |
| const string & | delim = "=", |
|||
| const string & | removeSur = " \t\n" | |||
| ) |
| map<string,string> storage::makeMap | ( | const list< string > & | l, | |
| const string & | delim, | |||
| const string & | removeSur | |||
| ) |
Referenced by storage::EvmsCo::getEvmsList(), storage::Volume::getFsData(), and storage::Volume::getTestmodeData().
| string storage::mergeString | ( | const std::list< string > & | l, | |
| const string & | del = " " | |||
| ) |
Referenced by operator<<().
| 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::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::Dasd::doDasdfmt(), storage::EvmsCo::evmsNormalizeDevice(), storage::MdCo::extendMd(), storage::Storage::findDisk(), storage::Storage::findVolume(), storage::Container::findVolume(), storage::Volume::getMajorMinor(), storage::MdCo::getMdData(), storage::LvmVg::init(), storage::LvmLv::init(), storage::EvmsCo::init(), storage::Md::Md(), storage::EvmsCo::modifyCo(), storage::ProcMounts::ProcMounts(), storage::Md::removeDevice(), storage::Volume::sameDevice(), storage::EvmsCo::setUsed(), and storage::MdCo::shrinkMd().
| 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_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 | |||
| ) | [inline] |
References storage::usedBy::t, 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 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 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 EvmsCo & | d | |||
| ) |
| std::ostream & storage::operator<< | ( | std::ostream & | s, | |
| const EvmsTree & | d | |||
| ) |
References storage::EvmsTree::cont, storage::EvmsTree::objects, and storage::EvmsTree::volumes.
| std::ostream & storage::operator<< | ( | std::ostream & | s, | |
| const EvmsCont & | d | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const EvmsCont::peinfo & | d | |||
| ) |
| std::ostream & storage::operator<< | ( | std::ostream & | s, | |
| const EvmsVol & | d | |||
| ) |
| std::ostream & storage::operator<< | ( | std::ostream & | s, | |
| const EvmsObj & | d | |||
| ) |
References storage::EvmsObj::id, storage::EvmsObj::name, and storage::EvmsObj::vol.
| std::ostream& storage::operator<< | ( | std::ostream & | Stream, | |
| const EvmsVolumeObject & | Obj | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | Stream, | |
| const EvmsContainerObject & | Obj | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | Stream, | |
| const EvmsDataObject & | Obj | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | Stream, | |
| const EvmsObject & | Obj | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | Stream, | |
| const EvmsAccess & | Obj | |||
| ) |
| std::ostream& storage::operator<< | ( | std::ostream & | Stream, | |
| const ObjType | Obj | |||
| ) |
| ostream& storage::operator<< | ( | ostream & | str, | |
| const EvmsAccess & | obj | |||
| ) |
References storage::EvmsAccess::output().
| ostream& storage::operator<< | ( | ostream & | str, | |
| const EvmsVolumeObject & | obj | |||
| ) |
References storage::EvmsVolumeObject::output().
| ostream& storage::operator<< | ( | ostream & | str, | |
| const EvmsContainerObject & | obj | |||
| ) |
References storage::EvmsContainerObject::output().
| ostream& storage::operator<< | ( | ostream & | str, | |
| const EvmsDataObject & | obj | |||
| ) |
References storage::EvmsDataObject::output().
| ostream& storage::operator<< | ( | ostream & | str, | |
| ObjType | obj | |||
| ) |
References EVMS_CONTAINER, EVMS_DISK, EVMS_PLUGIN, EVMS_REGION, EVMS_SEGMENT, EVMS_UNKNOWN, and EVMS_VOLUME.
| ostream& storage::operator<< | ( | ostream & | str, | |
| const EvmsObject & | obj | |||
| ) |
References storage::EvmsObject::output().
| std::ostream& storage::operator<< | ( | std::ostream & | s, | |
| const Evms & | p | |||
| ) |
References storage::Evms::compat.
| 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::crypto, storage::FstabEntry::cryptt, 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 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::mp_alias, 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] |
| std::istream& storage::operator>> | ( | std::istream & | s, | |
| Region & | p | |||
| ) | [inline] |
| void storage::pointerIntoSortedList | ( | std::list< C * > & | l, | |
| C * | e | |||
| ) | [inline] |
| void storage::printDevList | ( | std::ostream & | s, | |
| const std::list< PeContainer::Pv > & | l | |||
| ) |
| void storage::putNthWord | ( | int | Num_iv, | |
| string | Word_Cv, | |||
| string & | Line_Cr | |||
| ) |
References app_ws, and extractNthWord().
| void storage::removeLastIf | ( | string & | Text_Cr, | |
| char | Char_cv | |||
| ) |
Referenced by storage::AsciiFile::append(), and storage::AsciiFile::insert().
| void storage::removeSurrounding | ( | char | Delim_ci, | |
| string & | Text_Cr | |||
| ) |
| bool storage::runningFromSystem | ( | ) |
| 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 * | txt, | |
| ... | ||||
| ) | [inline] |
Referenced by storage::EtcFstab::addText(), storage::Dasd::checkFdasdOutput(), storage::Disk::checkPartedOutput(), storage::EvmsCo::createCoText(), storage::Volume::createText(), storage::Partition::createText(), storage::Md::createText(), storage::LvmLv::createText(), storage::Loop::createText(), storage::Evms::createText(), storage::Dmraid::createText(), storage::Container::createText(), storage::LvmVg::createVgText(), storage::Volume::crsetupText(), storage::Dasd::dasdfmtText(), storage::Dasd::dasdfmtTexts(), storage::Disk::detectPartitions(), storage::EvmsCo::extendCoText(), storage::LvmVg::extendVgText(), storage::Dasd::fdasdText(), storage::Volume::formatText(), storage::Partition::formatText(), storage::Md::formatText(), storage::LvmLv::formatText(), storage::Loop::formatText(), storage::Evms::formatText(), storage::Dmraid::formatText(), storage::Dm::formatText(), storage::Volume::labelText(), storage::Volume::losetupText(), storage::Volume::mountText(), storage::EvmsCo::reduceCoText(), storage::LvmVg::reduceVgText(), storage::EvmsCo::removeCoText(), storage::Volume::removeText(), storage::Partition::removeText(), storage::Nfs::removeText(), storage::Md::removeText(), storage::LvmLv::removeText(), storage::Loop::removeText(), storage::Evms::removeText(), storage::EtcFstab::removeText(), storage::DmraidCo::removeText(), storage::Dmraid::removeText(), storage::DmPartCo::removeText(), storage::Dm::removeText(), storage::Container::removeText(), storage::LvmVg::removeVgText(), storage::Volume::resizeText(), storage::Partition::resizeText(), storage::LvmLv::resizeText(), storage::Evms::resizeText(), storage::Dmraid::resizeText(), storage::DmraidCo::setDiskLabelText(), storage::DmPartCo::setDiskLabelText(), storage::Disk::setDiskLabelText(), storage::Partition::setTypeText(), storage::Dmraid::setTypeText(), storage::DmPart::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::Dm::dmNumber(), storage::Volume::doFormat(), storage::Volume::doLosetup(), storage::Storage::dumpObjectList(), storage::EvmsAccess::EvmsAccess(), storage::Storage::getContVolInfo(), storage::Dm::getDevice(), storage::EvmsCo::getEvmsList(), getFindMap(), getFindRevMap(), storage::Volume::getFsData(), storage::Disk::getGeometry(), storage::Volume::getLoopData(), storage::DmraidCo::getRaidData(), storage::Dm::getTableInfo(), storage::Volume::getTestmodeData(), haveQuota(), storage::Storage::initialize(), storage::Volume::mount(), storage::Volume::optNoauto(), storage::Mke2fsScrollbar::process(), storage::ProcMounts::ProcMounts(), storage::EtcFstab::readFiles(), storage::Storage::removeFstabOptions(), storage::DmraidCo::setUdevData(), and storage::Disk::setUdevData().
| void storage::timeMark | ( | const char *const | Text_pcv, | |
| bool | PrintDiff_bi | |||
| ) |
Referenced by storage::SystemCmd::doExecute().
| void storage::tolower | ( | string & | s | ) |
| void storage::undevDevice | ( | string & | dev | ) |
| string storage::undevDevice | ( | const string & | dev | ) |
Referenced by storage::EvmsCo::changeDeviceName(), storage::ProcPart::devName(), storage::Dm::devToTable(), storage::Disk::Disk(), storage::Dasd::doDasdfmt(), storage::EvmsAccess::extendCo(), storage::Storage::getContVolInfo(), storage::Volume::loopStringNum(), storage::Md::mdStringNum(), storage::Partition::Partition(), storage::Storage::removeEvmsVolumeByDevice(), storage::Storage::removeLvmLvByDevice(), storage::EvmsAccess::shrinkCo(), and storage::Partition::sysfsPath().
| const string storage::app_ws = " \t\n" |
Referenced by extractNthWord(), storage::LvmVg::getVgData(), storage::Md::Md(), and putNthWord().
blocxx::String storage::component = "libstorage" [static] |
Referenced by createLogger(), and log_msg().
| bool storage::system_cmd_testmode = false |
Referenced by storage::Storage::detectObjects(), and storage::SystemCmd::doExecute().
1.5.5