This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

> 
> > -----Original Message-----
> > From: Pavel Rozenboim [mailto:pavelr@coresma.com]
> > Sent: Monday, October 28, 2002 12:37 PM
> > To: Harig, Mark A.
> > Subject: RE: ls takes a long time.
> > 
> > 
> > 
> > 
> > > -----Original Message-----
> > > From: Harig, Mark A. [mailto:maharig@idirect.net]
> > > Sent: Mon, October 28, 2002 7:41 PM
> > > To: Pavel Rozenboim; Cygwin (E-mail)
> > > Subject: RE: ls takes a long time.
> > > 
> > > 
> > > 1. What is the value of your 'PATH' environment variable?
> > > 
> > >     $ echo $PATH
> > /usr/local/bin:/usr/bin:/bin:/cygdrive/c/Tornado/host/x86-win3
> > 2/bin:/cygdriv
> > e/c/Tornado2.0.1_ARM/host/x86-win32/bin:/cygdrive/c/SFU/common
> > /:/cygdrive/c/
> > SFU/Perl/bin/:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cy
> > gdrive/c/WINNT
> > /System32/Wbem:/cygdrive/c/Program Files/Resource
> > Kit/:/cygdrive/c/PROGRA~1/ULTRAE~1:/cygdrive/c/Program 
> Files/SecureCRT
> > 3.0:/cygdrive/c/ARM250/BIN:/cygdrive/c/Program
> > Files/Adabas/pgm:/usr/X11R6/bin:/proj/cmts_sw/build
> > 
> > > 
> > > 2. What version of 'ls' are you running?
> > > 
> > >     $ ls --version
> > ls (fileutils) 4.1
> > Written by Richard Stallman and David MacKenzie.
> > 
> > Copyright (C) 2001 Free Software Foundation, Inc.
> > This is free software; see the source for copying conditions. 
> >  There is NO
> > warranty; not even for MERCHANTABILITY or FITNESS FOR A 
> > PARTICULAR PURPOSE.
> > 
> > > 
> > > > -----Original Message-----
> > > > From: Pavel Rozenboim [mailto:pavelr@coresma.com]
> > > > Sent: Monday, October 28, 2002 12:25 PM
> > > > To: Cygwin (E-mail)
> > > > Subject: ls takes a long time.
> > > > 
> > > > 
> > > > Hi,
> > > > 
> > > > I have following problem. When I execute 'ls -l <file>' and 
> > > > file has setuid
> > > > bit set, it takes about 1.5 minute to execute. If I execute 
> > > > 'ls <file>' it
> > > > works ok. This happens with all versions of cygwin I could 
> > > > test: 1.3.12,
> > > > 1.3.13 and 1.3.14. I'm running cygwin on Win2k.
> > > > 
> > > > $ time ls -l test
> > > > 
> > > > -rwSrwSrw-    1 pavel    Domain U        0 Oct 27 11:20 test
> > > > 
> > > > real    1m30.061s
> > > > user    0m0.020s
> > > > sys     0m0.060s
> > > > 
> > > > Any ideas why does it happen?
> > > > 
> > > > Thanks,
> > > > 	Pavel.
> > > > 
> > > > --
> > > > 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/
> > > > 
> > > > 
> > > 
> > 
> 
> --
> 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/
> 

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]