X-Spam-Check-By: sourceware.org Date: Sat, 14 Jan 2006 01:11:00 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: stat(2) triggers on-demand virus scan Message-ID: <20060114061100.GA20267@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <43C8927B DOT 9010902 AT earthlink DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43C8927B.9010902@earthlink.net> User-Agent: Mutt/1.5.11 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list 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 >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. 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. cgf -- 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/