delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/29/18:25:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: ls takes a long time.
Date: Tue, 29 Oct 2002 18:25:10 -0500
Message-ID: <BADF3C947A1BD54FBA75C70C241B0B9E10AB05@ex02.idirect.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Harig, Mark A." <maharig AT idirect DOT net>
To: "Pavel Rozenboim" <pavelr AT coresma DOT com>, <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g9TNPPT04066

I can't see what is causing your problem.  For what it's worth,
it does not appear to be inherent in Cygwin:

   $ uname -r
   1.3.13(0.62/3/2)

   $ /usr/bin/ls --version
   ls (fileutils) 4.1

   $ touch foo && chmod +s foo && time /usr/bin/ls -l foo
   -rwSr-Sr--    1 maharig  Power Us        0 Oct 29 18:18 foo

   real    0m0.390s
   user    0m0.030s
   sys     0m0.060s

I repeated the above commands on another computer that is running Cygwin
1.3.12 -- similar results (slightly faster).  Both computers are running
Windows 2000.

> -----Original Message-----
> From: Pavel Rozenboim [mailto:pavelr AT coresma DOT com]
> Sent: Tuesday, October 29, 2002 2:33 AM
> To: cygwin AT cygwin DOT com
> Subject: RE: ls takes a long time.
> 
> 
> 
> 
> > -----Original Message-----
> > From: Harig, Mark A. [mailto:maharig AT idirect DOT net]
> > Sent: Mon, October 28, 2002 7:54 PM
> > To: Pavel Rozenboim; cygwin AT cygwin DOT com
> > Subject: RE: ls takes a long time.
> > 
> > 
> > try including the path to 'ls' so that you are
> > certain that you are not running an unusual
> > version in /usr/local/bin, that is,
> > 
> >   $ /usr/bin/ls <filename>
> >   $ /usr/bin/ls -l <filename>
> 
> pavel AT PAVEL ~
> $ time /usr/bin/ls.exe -l temp.e
> -rw-rw-rw-    1 pavel    Domain U     4393 Oct 22 18:58 temp.e
> 
> real    0m0.067s
> user    0m0.060s
> sys     0m0.010s
> 
> pavel AT PAVEL ~
> $ chmod +s temp.e
> 
> pavel AT PAVEL ~
> $ time /usr/bin/ls -l temp.e
> -rwSrwSrw-    1 pavel    Domain U     4393 Oct 22 18:58 temp.e
> 
> real    1m30.117s
> user    0m0.020s
> sys     0m0.040s
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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