This is the mail archive of the
mailing list for the Cygwin project.
Re: stat(2) triggers on-demand virus scan
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 14 Jan 2006 01:11:00 -0500
- Subject: Re: stat(2) triggers on-demand virus scan
- References: <43C8927B.email@example.com>
- Reply-to: cygwin at cygwin dot com
On Sat, Jan 14, 2006 at 12:56:11AM -0500, Paul McFerrin wrote:
>I have an "antique" question.
>I'm currently running cygwin.dll version: 1.3.6 ! (don't laugh). I use
>cygwin daily in my work and I'm happy not to disturb things that are not
>The stat(2) system call runs very slowly because it is constantlt
>triggering the McAfee on-demand virus scanner to scan the file that is
>being stat'ed. This may not seem like a big thing but I frequently stat
>thousands of files at a batch. I find that the stat runs much faster when
>I temporarily disable the on-demand virus scanner.
>When I examined the code within cygwin1.dll, I really didn't see anything
>cygwin was doing to trigger this behavior so I assummed it was a MS
>feature. I'm using XP Pro with NO SP2.
>Has the behavior of the stat changed over the years that might solve this
>problem? It *might* prompt me to upgrade if this behavior has been
It is a novel concept, but why not just try it? Back up your cygwin
directory, install a new version, and see if there is any difference.
If you don't like what you see, then restore the directory.
It's either that or trust some random mailing list voice to say yes or
no and then find out for yourself just how authoritative they really
are. Given that every installation is different, no one is going to be
able to give you a definitive answer anyway.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html