delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/14/00:56:20

X-Spam-Check-By: sourceware.org
Message-ID: <43C8927B.9010902@earthlink.net>
Date: Sat, 14 Jan 2006 00:56:11 -0500
From: Paul McFerrin <pmcferrin AT earthlink DOT net>
Reply-To: pmcferrin AT att DOT net
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: stat(2) triggers on-demand virus scan
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 broken.

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 improved.

-Paul McFerrin

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019