This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: ls takes a long time.
- From: "Harig, Mark A." <maharig at idirect dot net>
- To: "Pavel Rozenboim" <pavelr at coresma dot com>,<cygwin at cygwin dot com>
- Date: Tue, 29 Oct 2002 18:25:10 -0500
- Subject: RE: ls takes a long time.
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@coresma.com]
> Sent: Tuesday, October 29, 2002 2:33 AM
> To: cygwin@cygwin.com
> Subject: RE: ls takes a long time.
>
>
>
>
> > -----Original Message-----
> > From: Harig, Mark A. [mailto:maharig@idirect.net]
> > Sent: Mon, October 28, 2002 7:54 PM
> > To: Pavel Rozenboim; cygwin@cygwin.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@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@PAVEL ~
> $ chmod +s temp.e
>
> pavel@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/