XROOTD-L Archives

Support use of xrootd by HEP experiments

XROOTD-L@LISTSERV.SLAC.STANFORD.EDU

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Peter Elmer <[log in to unmask]>
Date:
7 Mar 2005 01:11:14 +0100Mon, 7 Mar 2005 01:11:14 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
  Hi Fons and Gerri,

  I found another instance of a hard-coded check on "root://" in 
TSystem::FindHelper(...), namely:

   // create new helper
   TRegexp re("^root.*:");  // also roots, rootk, etc
   TString pname = path;
   if (pname.Index(re) != kNPOS) {
      // rootd daemon ...
      helper = new TNetSystem(path);
   } else if (!strcmp(url.GetProtocol(), "http") &&
                     pname.BeginsWith("http")) {
      // http ...

   } else if ((h = gROOT->GetPluginManager()->FindHandler("TSystem", path))) {
      if (h->LoadPlugin() == -1)
         return 0;
      helper = (TSystem*) h->ExecPlugin(0);
   }

This should probably be changed to use the PluginManager to find TNetSystem.
It looks like most (all?) of the functionality is there in the XrdClientAdmin 
so presumably a "TXNetSystem" can be made. Fabrizio, what do you think?
   
  Presumably this can be done as part of the merge of TXNetFile with the posix 
client. Do you know of any backwards compatibility issues which will make it 
difficult for a TXNetSystem to be backwards compatible with rootd (using 
TNetSystem)?

                                   Pete

-------------------------------------------------------------------------
Peter Elmer     E-mail: [log in to unmask]      Phone: +41 (22) 767-4644
Address: CERN Division PPE, Bat. 32 2C-14, CH-1211 Geneva 23, Switzerland
-------------------------------------------------------------------------



ATOM RSS1 RSS2