|
xrootd
|
#include <XrdFrmAdmin.hh>

Public Member Functions | |
| int | Audit () |
| int | Copy () |
| int | Create () |
| int | Find () |
| int | Help () |
| int | MakeLF () |
| int | Mark () |
| int | Mmap () |
| int | Pin () |
| int | Query () |
| int | Quit () |
| int | Reloc () |
| int | Remove () |
| int | Rename () |
| void | setArgs (int argc, char **argv) |
| void | setArgs (char *argv) |
| int | xeqArgs (char *Cmd) |
| XrdFrmAdmin () | |
| ~XrdFrmAdmin () | |
Private Member Functions | |
| int | AuditNameNB (XrdFrmFileset *sP) |
| int | AuditNameNF (XrdFrmFileset *sP) |
| int | AuditNameNL (XrdFrmFileset *sP) |
| int | AuditNames () |
| int | AuditNameXA (XrdFrmFileset *sP) |
| int | AuditNameXB (XrdFrmFileset *sP) |
| int | AuditNameXL (XrdFrmFileset *sP, int dorm) |
| int | AuditRemove (XrdFrmFileset *sP) |
| int | AuditSpace () |
| int | AuditSpaceAX (const char *Path) |
| int | AuditSpaceAXDB (const char *Path) |
| int | AuditSpaceAXDC (const char *Path, XrdOucNSWalk::NSEnt *nP) |
| int | AuditSpaceAXDL (int dorm, const char *Path, const char *Dest) |
| int | AuditSpaceXA (const char *Space, const char *Path) |
| int | AuditSpaceXA (XrdFrmFileset *sP) |
| int | AuditSpaceXB (const char *Space, const char *Path) |
| int | AuditSpaceXANB (XrdFrmFileset *sP) |
| int | AuditUsage () |
| int | AuditUsage (char *Space) |
| int | AuditUsageAX (const char *Path) |
| int | AuditUsageXA (const char *Path, const char *Space) |
| int | isXA (XrdOucNSWalk::NSEnt *nP) |
| int | FindFail (XrdOucArgs &Spec) |
| int | FindMmap (XrdOucArgs &Spec) |
| int | FindNolk (XrdOucArgs &Spec) |
| int | FindPins (XrdOucArgs &Spec) |
| int | FindPins (XrdFrmFileset *sP) |
| int | FindUnmi (XrdOucArgs &Spec) |
| void | ConfigProxy () |
| void | Emsg (const char *tx1, const char *tx2=0, const char *tx3=0, const char *tx4=0, const char *tx5=0) |
| void | Emsg (int Enum, const char *tx2=0, const char *tx3=0, const char *tx4=0, const char *tx5=0) |
| void | Msg (const char *tx1, const char *tx2=0, const char *tx3=0, const char *tx4=0, const char *tx5=0) |
| int | Parse (const char *What, XrdOucArgs &Spec, const char **Reqs) |
| int | ParseKeep (const char *What, const char *kTime) |
| int | ParseOwner (const char *What, char *Uname) |
| XrdOucTList * | ParseSpace (char *Space, char **Path) |
| char | ckAttr (int What, const char *Lfn, char *Pfn, int Pfnsz) |
| int | mkLock (const char *Lfn) |
| int | mkFile (int What, const char *Path, const char *Data=0, int Dlen=0) |
| int | mkMark (const char *Lfn) |
| int | mkMmap (const char *Lfn) |
| int | mkPin (const char *Lfn) |
| char | mkStat (int What, const char *Lfn, char *Pfn, int Pfnsz) |
| int | QueryPfn (XrdOucArgs &Spec) |
| int | QueryRfn (XrdOucArgs &Spec) |
| int | QuerySpace (XrdOucArgs &Spec) |
| int | QuerySpace (const char *Pfn, char *Lnk=0, int Lsz=0) |
| int | QueryUsage (XrdOucArgs &Spec) |
| int | QueryXfrQ (XrdOucArgs &Spec) |
| int | Reloc (char *srcLfn, char *Space) |
| int | RelocCP (const char *srcpfn, const char *trgpfn, off_t srcSz) |
| int | RelocWR (const char *outFn, int oFD, char *Buff, size_t BLen, off_t Boff) |
| int | Unlink (const char *Path) |
| int | UnlinkDir (const char *Path, const char *lclPath) |
| int | UnlinkDir (XrdOucNSWalk::NSEnt *&nP, XrdOucNSWalk::NSEnt *&dP) |
| int | UnlinkFile (const char *lclPath) |
| int | VerifyAll (char *path) |
| char | VerifyMP (const char *func, const char *path) |
| int | Convert () |
| int | ConvTest (int doNames, int doSpaces) |
| int | New2Old (int doNames, int doSpaces) |
| int | Old2New (int doNames, int doSpaces) |
| int | o2nFiles (XrdFrmFileset *sP, int &numOld) |
| int | o2nSpace (XrdFrmFileset *sP, const char *Space) |
| XrdOucTList * | x2xPaths () |
| int | x2xRemove (const char *Type, const char *Path, int cvt=0) |
| XrdOucTList * | x2xSpaces () |
Private Attributes | |
| XrdFrmProxy * | frmProxy |
| int | frmProxz |
| char ** | ArgV |
| char * | ArgS |
| int | ArgC |
| long long | numBytes |
| long long | numBLost |
| int | numDirs |
| int | numFiles |
| int | numProb |
| int | numFix |
| int | finalRC |
| struct { | |
| char All | |
| char Echo | |
| char Erase | |
| char Fix | |
| char Force | |
| char Keep | |
| char ktAlways | |
| char ktIdle | |
| char Local | |
| char MPType | |
| char Recurse | |
| char * Args [2] | |
| uid_t Uid | |
| gid_t Gid | |
| time_t KeepTime | |
| } | Opt |
Static Private Attributes | |
| static const int | isPFN = 0x0001 |
| static const int | mkLF = 0x0002 |
| static const int | mkMF = 0x0004 |
| static const int | mkPF = 0x0008 |
| static const char * | AuditHelp = "opts: -fix -f[orce] -m[igratable] -p[urgeable] -r[ecursive]" |
| static const char * | FindHelp = "what: fail[files] | mmap[ped] | nolk[files] | pin[ned] | unmig[rated]" |
| static const char * | HelpHelp = "quit | reloc | rm} ..." |
| static const char * | MakeLFHelp = "lspec: lfn | ldir[*]" |
| static const char * | MarkHelp = "lspec: lfn | ldir[/*]" |
| static const char * | MmapHelp = "lspec: lfn | ldir[/*]" |
| static const char * | PinHelp = "lspec: lfn | ldir[/*]" |
| static const char * | QueryHelp = "lspec: lfn | ldir[*]" |
| static const char * | RelocHelp = "reloc lfn {cgroup[:path]}" |
| static const char * | RemoveHelp = "lspec: lfn | ldir[*]" |
| XrdFrmAdmin::XrdFrmAdmin | ( | ) | [inline] |
| XrdFrmAdmin::~XrdFrmAdmin | ( | ) | [inline] |
| int XrdFrmAdmin::Audit | ( | ) |
References XrdOucArgs::getarg(), and XrdFrm::Say.
Referenced by xeqArgs().
| int XrdFrmAdmin::AuditNameNB | ( | XrdFrmFileset * | sP | ) | [private] |
| int XrdFrmAdmin::AuditNameNF | ( | XrdFrmFileset * | sP | ) | [private] |
| int XrdFrmAdmin::AuditNameNL | ( | XrdFrmFileset * | sP | ) | [private] |
| int XrdFrmAdmin::AuditNames | ( | ) | [private] |
References XrdOucXAttr< T >::Attr, XrdFrmFileset::baseFile(), XrdFrm::Config, XrdFrmFileset::cpyInfo, XrdFrmXAttrCpy::cpyTime, XrdFrmFiles::Get(), XrdFrmFiles::GetCpyTim, XrdOucNSWalk::NSEnt::isLink, XrdOucNSWalk::NSEnt::Link, XrdFrmConfig::LocalPath(), XrdFrmFiles::NoAutoDel, opts, XrdFrmFiles::Recursive, XrdFrmConfig::runNew, and XrdOucNSWalk::NSEnt::Type.
| int XrdFrmAdmin::AuditNameXA | ( | XrdFrmFileset * | sP | ) | [private] |
| int XrdFrmAdmin::AuditNameXB | ( | XrdFrmFileset * | sP | ) | [private] |
References XrdFrmFileset::baseFile(), XrdFrmFileset::basePath(), XrdOucNSWalk::NSEnt::Link, lstat(), Path, and stat().
| int XrdFrmAdmin::AuditNameXL | ( | XrdFrmFileset * | sP, |
| int | dorm | ||
| ) | [private] |
| int XrdFrmAdmin::AuditRemove | ( | XrdFrmFileset * | sP | ) | [private] |
References XrdFrmFileset::lockFile(), XrdFrmFileset::lockPath(), and unlink().
| int XrdFrmAdmin::AuditSpace | ( | ) | [private] |
References XrdOucTList::next, Path, XrdOucTList::text, and XrdOucTList::val.
| int XrdFrmAdmin::AuditSpaceAX | ( | const char * | Path | ) | [private] |
| int XrdFrmAdmin::AuditSpaceAXDB | ( | const char * | Path | ) | [private] |
References XrdFrmUtils::Ask(), and unlink().
| int XrdFrmAdmin::AuditSpaceAXDC | ( | const char * | Path, |
| XrdOucNSWalk::NSEnt * | nP | ||
| ) | [private] |
References lstat(), XrdOucNSWalk::NSEnt::Path, XrdOucNSWalk::NSEnt::Stat, and stat().
| int XrdFrmAdmin::AuditSpaceAXDL | ( | int | dorm, |
| const char * | Path, | ||
| const char * | Dest | ||
| ) | [private] |
References XrdFrmUtils::Ask(), and unlink().
| int XrdFrmAdmin::AuditSpaceXA | ( | XrdFrmFileset * | sP | ) | [private] |
| int XrdFrmAdmin::AuditSpaceXA | ( | const char * | Space, |
| const char * | Path | ||
| ) | [private] |
| int XrdFrmAdmin::AuditSpaceXANB | ( | XrdFrmFileset * | sP | ) | [private] |
| int XrdFrmAdmin::AuditSpaceXB | ( | const char * | Space, |
| const char * | Path | ||
| ) | [private] |
| int XrdFrmAdmin::AuditUsage | ( | ) | [private] |
References XrdFrm::Config, XrdFrmConfig::VPInfo::Name, XrdFrmConfig::VPInfo::Next, and XrdFrmConfig::VPList.
| int XrdFrmAdmin::AuditUsage | ( | char * | Space | ) | [private] |
| int XrdFrmAdmin::AuditUsageAX | ( | const char * | Path | ) | [private] |
| int XrdFrmAdmin::AuditUsageXA | ( | const char * | Path, |
| const char * | Space | ||
| ) | [private] |
| char XrdFrmAdmin::ckAttr | ( | int | What, |
| const char * | Lfn, | ||
| char * | Pfn, | ||
| int | Pfnsz | ||
| ) | [private] |
References XrdFrmUtils::Ask(), XrdFrm::Config, XrdFrmConfig::LocalPath(), and stat().
| void XrdFrmAdmin::ConfigProxy | ( | ) | [private] |
| int XrdFrmAdmin::Convert | ( | ) | [private] |
References XrdFrm::Config, XrdOucArgs::getarg(), XrdFrmConfig::nonXA, XrdFrmConfig::runOld, and XrdFrm::Say.
Referenced by xeqArgs().
| int XrdFrmAdmin::ConvTest | ( | int | doNames, |
| int | doSpaces | ||
| ) | [private] |
| int XrdFrmAdmin::Copy | ( | ) |
| int XrdFrmAdmin::Create | ( | ) |
| void XrdFrmAdmin::Emsg | ( | const char * | tx1, |
| const char * | tx2 = 0, |
||
| const char * | tx3 = 0, |
||
| const char * | tx4 = 0, |
||
| const char * | tx5 = 0 |
||
| ) | [private] |
References XrdSysError::Say(), and XrdFrm::Say.
| void XrdFrmAdmin::Emsg | ( | int | Enum, |
| const char * | tx2 = 0, |
||
| const char * | tx3 = 0, |
||
| const char * | tx4 = 0, |
||
| const char * | tx5 = 0 |
||
| ) | [private] |
References XrdSysError::Say(), and XrdFrm::Say.
| int XrdFrmAdmin::Find | ( | ) |
References XrdFrm::Say.
Referenced by xeqArgs().
| int XrdFrmAdmin::FindFail | ( | XrdOucArgs & | Spec | ) | [private] |
| int XrdFrmAdmin::FindMmap | ( | XrdOucArgs & | Spec | ) | [private] |
References XrdOucXAttr< T >::Attr, XrdFrmFileset::basePath(), XrdFrm::Config, XrdFrmXAttrMem::Flags, XrdOucXAttr< T >::Get(), XrdFrmFiles::Get(), XrdOucArgs::getarg(), XrdFrmConfig::LocalPath(), XrdFrmXAttrMem::memKeep, XrdFrmXAttrMem::memLock, XrdFrmFiles::NoAutoDel, opts, and XrdFrmFiles::Recursive.
| int XrdFrmAdmin::FindNolk | ( | XrdOucArgs & | Spec | ) | [private] |
| int XrdFrmAdmin::FindPins | ( | XrdOucArgs & | Spec | ) | [private] |
| int XrdFrmAdmin::FindPins | ( | XrdFrmFileset * | sP | ) | [private] |
| int XrdFrmAdmin::FindUnmi | ( | XrdOucArgs & | Spec | ) | [private] |
References XrdOucXAttr< T >::Attr, XrdFrmFileset::baseFile(), XrdFrmFileset::basePath(), XrdFrm::Config, XrdFrmFileset::cpyInfo, XrdFrmXAttrCpy::cpyTime, XrdFrmFiles::Get(), XrdOucArgs::getarg(), XrdFrmFiles::GetCpyTim, XrdFrmConfig::LocalPath(), XrdFrmFiles::NoAutoDel, opts, XrdFrmFiles::Recursive, XrdFrmConfig::runNew, and XrdOucNSWalk::NSEnt::Stat.
| int XrdFrmAdmin::Help | ( | ) |
References XrdOucTokenizer::GetLine(), and XrdOucTokenizer::GetToken().
Referenced by xeqArgs().
| int XrdFrmAdmin::isXA | ( | XrdOucNSWalk::NSEnt * | nP | ) | [private] |
References XrdOucNSWalk::NSEnt::Link, XrdOucNSWalk::NSEnt::Lksz, and XrdOssPath::xChar.
| int XrdFrmAdmin::MakeLF | ( | ) |
References XrdOucArgs::getarg(), and XrdFrm::Say.
Referenced by xeqArgs().
| int XrdFrmAdmin::Mark | ( | ) |
References XrdOucArgs::getarg(), and XrdFrm::Say.
Referenced by xeqArgs().
| int XrdFrmAdmin::mkFile | ( | int | What, |
| const char * | Path, | ||
| const char * | Data = 0, |
||
| int | Dlen = 0 |
||
| ) | [private] |
References close, XrdFrm::Config, XrdFrmConfig::LocalPath(), XrdFrmConfig::lockFN, Mode, open(), rename(), S_IRGRP, S_IROTH, S_IRUSR, S_IWGRP, S_IWUSR, stat(), unlink(), XrdFrmUtils::Utime(), and write().
| int XrdFrmAdmin::mkLock | ( | const char * | Lfn | ) | [private] |
| int XrdFrmAdmin::mkMark | ( | const char * | Lfn | ) | [private] |
| int XrdFrmAdmin::mkMmap | ( | const char * | Lfn | ) | [private] |
References XrdOucXAttr< T >::Attr, XrdFrmFileset::baseFile(), XrdFrmFileset::basePath(), XrdOucXAttr< T >::Del(), XrdFrmXAttrMem::Flags, XrdFrmFiles::Get(), XrdFrmXAttrMem::memKeep, XrdFrmXAttrMem::memLock, XrdFrmXAttrMem::memMap, XrdFrmFiles::NoAutoDel, opts, XrdFrmFiles::Recursive, and XrdOucXAttr< T >::Set().
| int XrdFrmAdmin::mkPin | ( | const char * | Lfn | ) | [private] |
References XrdOucXAttr< T >::Attr, XrdFrmFileset::baseFile(), XrdFrmFileset::basePath(), XrdOucXAttr< T >::Del(), XrdFrmXAttrPin::Flags, XrdFrmFiles::Get(), XrdFrmFiles::NoAutoDel, opts, XrdFrmXAttrPin::pinIdle, XrdFrmXAttrPin::pinKeep, XrdFrmXAttrPin::pinPerm, XrdFrmXAttrPin::pinTime, XrdFrmFiles::Recursive, and XrdOucXAttr< T >::Set().
| char XrdFrmAdmin::mkStat | ( | int | What, |
| const char * | Lfn, | ||
| char * | Pfn, | ||
| int | Pfnsz | ||
| ) | [private] |
References XrdFrmUtils::Ask(), XrdFrm::Config, XrdFrmConfig::LocalPath(), and stat().
| int XrdFrmAdmin::Mmap | ( | ) |
References XrdOucArgs::getarg(), and XrdFrm::Say.
Referenced by xeqArgs().
| void XrdFrmAdmin::Msg | ( | const char * | tx1, |
| const char * | tx2 = 0, |
||
| const char * | tx3 = 0, |
||
| const char * | tx4 = 0, |
||
| const char * | tx5 = 0 |
||
| ) | [private] |
References XrdSysError::Say(), and XrdFrm::Say.
| int XrdFrmAdmin::New2Old | ( | int | doNames, |
| int | doSpaces | ||
| ) | [private] |
| int XrdFrmAdmin::o2nFiles | ( | XrdFrmFileset * | sP, |
| int & | numOld | ||
| ) | [private] |
References XrdFrmUtils::Ask(), XrdFrmFileset::baseFile(), XrdFrmFileset::basePath(), XrdFrm::Config, XrdFrmFileset::cpyInfo, XrdOucNSWalk::NSEnt::isLink, XrdOssPath::isMkeep, XrdOssPath::isMlock, XrdOssPath::isMmap, XrdOucNSWalk::NSEnt::Link, XrdFrmFileset::lockFile(), XrdFrmFileset::lockPath(), XrdFrmXAttrPfn::Name(), XrdFrmFileset::pinFile(), XrdFrmFileset::pinPath(), XrdSysFAttr::Set(), XrdOucXAttr< T >::Set(), XrdOucNSWalk::NSEnt::Type, XrdFrmConfig::Verbose, XrdFrmFileset::xyzFile(), and XrdFrmFileset::xyzPath().
| int XrdFrmAdmin::o2nSpace | ( | XrdFrmFileset * | sP, |
| const char * | Space | ||
| ) | [private] |
| int XrdFrmAdmin::Old2New | ( | int | doNames, |
| int | doSpaces | ||
| ) | [private] |
| int XrdFrmAdmin::Parse | ( | const char * | What, |
| XrdOucArgs & | Spec, | ||
| const char ** | Reqs | ||
| ) | [private] |
References XrdOucArgs::argval, XrdOucArgs::getarg(), XrdOucArgs::getopt(), and XrdOucArgs::Set().
| int XrdFrmAdmin::ParseKeep | ( | const char * | What, |
| const char * | kTime | ||
| ) | [private] |
References XrdOuca2x::a2tm(), index(), and XrdFrm::Say.
| int XrdFrmAdmin::ParseOwner | ( | const char * | What, |
| char * | Uname | ||
| ) | [private] |
References XrdOuca2x::a2i(), XrdFrm::Config, index(), XrdFrmConfig::myGid, XrdFrmConfig::myUid, and XrdFrm::Say.
| XrdOucTList * XrdFrmAdmin::ParseSpace | ( | char * | Space, |
| char ** | Path | ||
| ) | [private] |
References XrdFrm::Config, index(), XrdFrmConfig::Space(), and XrdOucTList::text.
| int XrdFrmAdmin::Pin | ( | ) |
References XrdOucArgs::getarg(), and XrdFrm::Say.
Referenced by xeqArgs().
| int XrdFrmAdmin::Query | ( | ) |
References QueryPfn(), QueryRfn(), QuerySpace(), QueryUsage(), QueryXfrQ(), and XrdFrm::Say.
Referenced by xeqArgs().
| int XrdFrmAdmin::QueryPfn | ( | XrdOucArgs & | Spec | ) | [private] |
References XrdFrm::Config, XrdOucArgs::getarg(), and XrdFrmConfig::LocalPath().
Referenced by Query().
| int XrdFrmAdmin::QueryRfn | ( | XrdOucArgs & | Spec | ) | [private] |
References XrdFrm::Config, XrdOucArgs::getarg(), and XrdFrmConfig::RemotePath().
Referenced by Query().
| int XrdFrmAdmin::QuerySpace | ( | const char * | Pfn, |
| char * | Lnk = 0, |
||
| int | Lsz = 0 |
||
| ) | [private] |
References XrdOssPath::getCname(), and XrdOssSpace::minSNbsz.
| int XrdFrmAdmin::QuerySpace | ( | XrdOucArgs & | Spec | ) | [private] |
References XrdFrmFileset::baseFile(), XrdFrmFileset::basePath(), XrdFrm::Config, XrdFrmConfig::VPInfo::Dir, XrdFrmFiles::Get(), XrdOucArgs::getarg(), XrdOucNSWalk::NSEnt::Link, XrdOucNSWalk::NSEnt::Lksz, XrdFrmConfig::LocalPath(), XrdFrmConfig::VPInfo::Name, XrdFrmConfig::VPInfo::Next, XrdOucTList::next, XrdFrmFiles::NoAutoDel, opts, QuerySpace(), XrdFrmFiles::Recursive, stat(), XrdOucTList::text, XrdOucTList::val, and XrdFrmConfig::VPList.
Referenced by Query(), and QuerySpace().
| int XrdFrmAdmin::QueryUsage | ( | XrdOucArgs & | Spec | ) | [private] |
References XrdOssSpace::Admin, XrdFrm::Admin, XrdOssSpace::uEnt::Bytes, XrdFrm::Config, XrdOucArgs::getarg(), XrdOssSpace::haveUsage, XrdOssSpace::Init(), XrdFrmConfig::VPInfo::Name, XrdFrmConfig::VPInfo::Next, XrdOssSpace::Pstg, XrdOssSpace::Purg, XrdOssSpace::Serv, XrdOssSpace::Usage(), and XrdFrmConfig::VPList.
Referenced by Query().
| int XrdFrmAdmin::QueryXfrQ | ( | XrdOucArgs & | Spec | ) | [private] |
| int XrdFrmAdmin::Reloc | ( | char * | srcLfn, |
| char * | Space | ||
| ) | [private] |
| int XrdFrmAdmin::Reloc | ( | ) |
References XrdFrm::Config, XrdFrmConfig::ossFS, XrdOss::Reloc(), and XrdFrm::Say.
Referenced by xeqArgs().
| int XrdFrmAdmin::RelocCP | ( | const char * | srcpfn, |
| const char * | trgpfn, | ||
| off_t | srcSz | ||
| ) | [private] |
| int XrdFrmAdmin::RelocWR | ( | const char * | outFn, |
| int | oFD, | ||
| char * | Buff, | ||
| size_t | BLen, | ||
| off_t | Boff | ||
| ) | [private] |
| int XrdFrmAdmin::Remove | ( | ) |
References XrdOucArgs::getarg(), and XrdFrm::Say.
Referenced by xeqArgs().
| int XrdFrmAdmin::Rename | ( | ) |
| void XrdFrmAdmin::setArgs | ( | int | argc, |
| char ** | argv | ||
| ) |
Referenced by main().
| void XrdFrmAdmin::setArgs | ( | char * | argv | ) |
| int XrdFrmAdmin::Unlink | ( | const char * | Path | ) | [private] |
References XrdFrmUtils::Ask(), XrdFrm::Config, XrdFrmAdminNSE::dP, XrdOucNSWalk::Index(), XrdFrmConfig::LocalPath(), XrdOucNSWalk::NSEnt::Next, XrdFrmAdminNSE::nP, XrdFrmAdminNSE::nsP, XrdFrmConfig::ossFS, XrdOucNSWalk::NSEnt::Path, XrdOucNSWalk::Recurse, XrdOss::Remdir(), XrdOucNSWalk::retAll, XrdOucNSWalk::retStat, XrdFrm::Say, stat(), XRDOSS_isPFN, and XRDOSS_Online.
| int XrdFrmAdmin::UnlinkDir | ( | XrdOucNSWalk::NSEnt *& | nP, |
| XrdOucNSWalk::NSEnt *& | dP | ||
| ) | [private] |
| int XrdFrmAdmin::UnlinkDir | ( | const char * | Path, |
| const char * | lclPath | ||
| ) | [private] |
References XrdFrmUtils::Ask(), XrdFrm::Config, XrdFrmAdminNSE::dP, XrdOucNSWalk::Index(), XrdOucNSWalk::NSEnt::isDir, XrdFrmConfig::lockFN, XrdOucNSWalk::NSEnt::Next, XrdFrmAdminNSE::nP, XrdFrmAdminNSE::nsP, XrdFrmConfig::ossFS, XrdOucNSWalk::NSEnt::Path, XrdOss::Remdir(), XrdOucNSWalk::retAll, XrdOucNSWalk::retStat, XrdFrm::Say, XrdOucNSWalk::NSEnt::Type, unlink(), XRDOSS_isPFN, and XRDOSS_Online.
| int XrdFrmAdmin::UnlinkFile | ( | const char * | lclPath | ) | [private] |
| int XrdFrmAdmin::VerifyAll | ( | char * | path | ) | [private] |
References rindex.
| char XrdFrmAdmin::VerifyMP | ( | const char * | func, |
| const char * | path | ||
| ) | [private] |
References XrdFrmUtils::Ask(), XrdFrm::Config, XrdFrmConfig::ossFS, XrdOss::StatXP(), XRDEXP_MIG, and XRDEXP_STAGE.
| XrdOucTList * XrdFrmAdmin::x2xPaths | ( | ) | [private] |
| int XrdFrmAdmin::x2xRemove | ( | const char * | Type, |
| const char * | Path, | ||
| int | cvt = 0 |
||
| ) | [private] |
| XrdOucTList * XrdFrmAdmin::x2xSpaces | ( | ) | [private] |
| int XrdFrmAdmin::xeqArgs | ( | char * | Cmd | ) |
| char XrdFrmAdmin::All |
int XrdFrmAdmin::ArgC [private] |
char* XrdFrmAdmin::ArgS [private] |
| char* XrdFrmAdmin::Args[2] |
char** XrdFrmAdmin::ArgV [private] |
const char * XrdFrmAdmin::AuditHelp = "opts: -fix -f[orce] -m[igratable] -p[urgeable] -r[ecursive]" [static, private] |
| char XrdFrmAdmin::Echo |
| char XrdFrmAdmin::Erase |
int XrdFrmAdmin::finalRC [private] |
Referenced by Quit().
const char * XrdFrmAdmin::FindHelp = "what: fail[files] | mmap[ped] | nolk[files] | pin[ned] | unmig[rated]" [static, private] |
| char XrdFrmAdmin::Fix |
| char XrdFrmAdmin::Force |
XrdFrmProxy* XrdFrmAdmin::frmProxy [private] |
int XrdFrmAdmin::frmProxz [private] |
| gid_t XrdFrmAdmin::Gid |
const char * XrdFrmAdmin::HelpHelp = "quit | reloc | rm} ..." [static, private] |
const int XrdFrmAdmin::isPFN = 0x0001 [static, private] |
| char XrdFrmAdmin::Keep |
| time_t XrdFrmAdmin::KeepTime |
| char XrdFrmAdmin::ktIdle |
| char XrdFrmAdmin::Local |
const char * XrdFrmAdmin::MakeLFHelp = "lspec: lfn | ldir[*]" [static, private] |
const char * XrdFrmAdmin::MarkHelp = "lspec: lfn | ldir[/*]" [static, private] |
const int XrdFrmAdmin::mkLF = 0x0002 [static, private] |
const int XrdFrmAdmin::mkMF = 0x0004 [static, private] |
const int XrdFrmAdmin::mkPF = 0x0008 [static, private] |
const char * XrdFrmAdmin::MmapHelp = "lspec: lfn | ldir[/*]" [static, private] |
| char XrdFrmAdmin::MPType |
long long XrdFrmAdmin::numBLost [private] |
long long XrdFrmAdmin::numBytes [private] |
int XrdFrmAdmin::numDirs [private] |
int XrdFrmAdmin::numFiles [private] |
int XrdFrmAdmin::numFix [private] |
int XrdFrmAdmin::numProb [private] |
struct { ... } XrdFrmAdmin::Opt [private] |
const char * XrdFrmAdmin::PinHelp = "lspec: lfn | ldir[/*]" [static, private] |
const char * XrdFrmAdmin::QueryHelp = "lspec: lfn | ldir[*]" [static, private] |
| char XrdFrmAdmin::Recurse |
const char * XrdFrmAdmin::RelocHelp = "reloc lfn {cgroup[:path]}" [static, private] |
const char * XrdFrmAdmin::RemoveHelp = "lspec: lfn | ldir[*]" [static, private] |
| uid_t XrdFrmAdmin::Uid |
1.7.3