[ROOT] [Fwd: Re: addition for magic...]

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Jun 18 2002 - 12:12:37 MEST


ROOT magic accepted.

Cheers, Fons.

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480


attached mail follows:


On Jun 15, 8:20pm, Fons.Rademakers@cern.ch (Fons Rademakers) wrote: -- Subject: Re: addition for magic... ok, I'll put it in. christos | Hi Christos, | | the following works too for the ROOT format: | | #---------------------------------------------------------------------- | # ROOT: file(1) magic for ROOT databases | # | 0 string root\0 ROOT file | >4 belong x Version %d | >33 belong x (Compression: %d) | | | and does not affect /etc/passwd. And this is inline with some other | entries like: | | 0 string Core\001 Alpha COFF format core dump | | I would like to ask you to reconsider this modified entry. | | | Cheers, Fons. | | | | | On Fri, 2002-06-14 at 18:44, Christos Zoulas wrote: | > On Jun 14, 3:07pm, Fons.Rademakers@cern.ch (Fons Rademakers) wrote: | > -- Subject: addition for magic... | > | > I will hesitate to add it, and I would like to plea with the authors of | > the software, not to use ascii strings as magic numbers. At least please | > don't use words. It is a very bad idea to use "root" as the magic number. | > What happens if I type file /etc/passwd? It will say "ROOT file". I bet | > there are more systems out there with passwd files than root databases, | > so I don't think it is a good idea to add it to the magic database. | > | > regards, | > | > christos | > | > | Hi Christos, | > | | > | I would like to ask you if you could add the following entry to magic: | > | | > | #---------------------------------------------------------------------- | > | # ROOT: file(1) magic for ROOT databases | > | # | > | 0 string root ROOT file | > | >4 belong x Version %d | > | >33 belong x (Compression: %d) | > | | > | | > | The ROOT databases are produced by the ROOT system | > | (http://root.cern.ch/). This Object Oriented data processing system is | > | used world wide by many large scientific institutions (CERN, FNAL, BNL, | > | SLAC, etc.) to store their scientific data. The file format is quite | > | mature and already several Peta Bytes of data are stored in it. | > | | > | Cheers, Fons. | > | | > | -- | > | Org: CERN, European Laboratory for Particle Physics. | > | Mail: 1211 Geneve 23, Switzerland | > | E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 | > | WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7679480 | > -- End of excerpt from Fons Rademakers | > | -- | Org: CERN, European Laboratory for Particle Physics. | Mail: 1211 Geneve 23, Switzerland | E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 | WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7679480 -- End of excerpt from Fons Rademakers



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:57 MET