delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-Id: | <4.2.0.58.20000724111437.00ad2670@pop.teknowledge.com> |
X-Sender: | rschulz AT pop DOT teknowledge DOT com |
X-Mailer: | QUALCOMM Windows Eudora Pro Version 4.2.0.58 |
Date: | Mon, 24 Jul 2000 11:21:36 -0700 |
To: | Earnie Boyd <earnie_boyd AT yahoo DOT com>, Jens Yllman <jens AT uniweb DOT se>, |
GNUWin32 <cygwin AT sources DOT redhat DOT com> | |
From: | Randall R Schulz <rschulz AT teknowledge DOT com> |
Subject: | Re: What does ls do? |
In-Reply-To: | <20000724170816.10981.qmail@web112.yahoomail.com> |
Mime-Version: | 1.0 |
Jens, Earnie, One can also infer some of ls's or the Cygwin DLL's "stat" activities from their behavior. I've observed that files that begin with "#!" will get tagged with an execute bit. Obviously the implication is that the file's contents are examined when the file is "stat"-ed, since the executability of #! scripts is not a Windows feature, but rather one that is emulated by the Cygwin DLL. Thus an "ls -l" or "ls -F" or "ls -t" or any ls option that requires that files be "stat"-ed will be slow when applied to directories with lots of files. Likewise, virus scanners are also going to be triggered by a "stat" call. This will slow things down further... Randall Schulz Teknolwedge Corp. Palo Alto, CA USA At 10:08 AM 07/24/2000 , Earnie Boyd wrote: >--- Jens Yllman <jens AT uniweb DOT se> wrote: > > What does ls realy do? The reason I wonder is because I just noticed that > > my virus program gets triggered for every file that is in the directory > > that where I use ls. And all the file with the right(wrong) extension > > get search by the virusprogram. And this makes ls very slow. > > > >The best answer to your question about ls is "Use the source, Luke". Your >virus program must be triggered by a file being opened or even stat'ed. If >this is the case then all programs not just Cygwin ones will be affected. The >only cure that I've found is to disable the dynamic virus protection and >periodically check your files for viruses. > >Cheers, > > Earnie Boyd: <mailto:earnie_boyd AT yahoo DOT com> -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |