delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/03/08/12:10:46

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <36E40422.157007C1@atos-group.com>
Date: Mon, 08 Mar 1999 18:08:50 +0100
From: Sebastien Carpe <scarpe AT atos-group DOT com>
Organization: Just see the mess on my office and find out i don't what 'Organization'
means !!
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Time taken for ls -la --color=yes
References: <199903081638 DOT LAA11084 AT y11a165 DOT neo DOT rr DOT com>


Timothy Reaves wrote:
> 
> >If you add the color or F switches then the CYGWIN1.DLL has to
> >determine the type of file.  It will be opening every regular file
> >listed and reading a line from the file in order to determine the type
> >of the file.  You can imagine the overhead involved in this.
> 
> No, I guess I can't, as bash under unix does not take this long, and it would have to do the same thing.

And it does ... but the Unixes file systems stores a lot more informations that
the NTFS does, therefore open less files... On the other side, may be cygwin is
a bit slow at opening files.. 
On my side, running ls --color=yes on my NT box on a Unix directory through
samba seems to take forever on large directory (well, may be not htat much, but
i'm a pretty impatient guy regarding those things).

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019