[Orca-users] Stopping 'file did exist and is now gone' message(s).

isaac r. izsun at yahoo.com
Sat Nov 23 20:40:02 PST 2002


Blair, et.al, -

Point well taken.

See the attachment. Its an improved "one-liner"
that checks for a file with ANY extension.
The "time" hour check is gone.

Explicit compression extensions (.gz,.tar.Z, etc. are
a breeze to customize.  By  the same token, I have not
done that because  newer compression methods
might become available and you probably don't want to
have to maintain this segment of code WITH ALL
possible
compression methods, especially every time
there's a new compression algorithm with a new file
extension that makes the headlines ...

Give an attachment a try.

What I noticed is that unless you have a newer
(not sure which exactly) version of Perl,
glob() appears to complain if it does not
evaluate to true.

Perl 5.8 (again, might've been fixed earlier) silences
glob () even if it fails - [behaviour that's to be
expected] 

Thanks and regards,
-I




--- Blair Zajac <blair at orcaware.com> wrote:
> [cc'ing orca-users]
> 
> "isaac r." wrote:
> > 
> > --- Blair Zajac <blair at orcaware.com> wrote:
> > > >
> > > > Any way you slice it, you're back at the real
> > > problem
> > > > of
> > > > no longer having your raw data file that your
> file
> > > > descriptor points to.
> > >
> > > As an FYI, until Orca closes the file, it reads
> till
> > > the end of
> > > it, since Unix won't delete it until all open
> file
> > > descriptors
> > > are closed.
> > >
> > 
> > Wait.  If Orca hasn't closed the file, and it has
> been
> > compressed, how does Orca know that the file is no
> > longer there ?
> > Are you re-opening the file for analysis and
> THAT'S
> > when
> > it knows the file's gone ?
> 
> It stat's the file to see if it's been updated or
> deleted.
> 
> Best,
> Blair
> 
> -- 
> Blair Zajac <blair at orcaware.com>
> Web and OS performance plots -
http://www.orcaware.com/orca/



__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: orca_RFE.txt
URL: </pipermail/orca-users/attachments/20021123/df2339a9/attachment.txt>


More information about the Orca-users mailing list