Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <4.3.2.20000316133253.00d2ad30@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3 Date: Thu, 16 Mar 2000 13:41:57 -0500 To: "Chris Nappi" , "cygwin AT sourceware DOT cygnus DOT com" From: "Larry Hall (RFK Partners, Inc)" Subject: Re: Cygwin performance (was [ANN] PW32 the...) In-Reply-To: <1ca301bf8f75$3504b5f0$247807a3@sps.mot.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 01:26 PM 3/16/00, Chris Nappi wrote: >I know that I would GREATLY appreciate it if someone would put some sort of stat_lite into ls. I work with cygwin almost exclusively over a Samba connection, and have been forced to use the ls from the Microsoft Unix toolkit because the speed on ls -l, ls -CF and ls --color is so slow over a network drive. >Chris Just so things don't get confused, in order to determine information that ls -CF and ls --color need, files need to be open. The Win32 API doesn't provide other options. So, these features don't allow you to have it both ways (i.e. you either wait or you don't use those features). However, all of this I'm addressing in the context of what happens in the Cygwin implementation of stat(). If one is going to take the time to actually modify ls, one might as well remove the calls to stat() and replace them with whatever one feels is an appropriate substitute (assuming one feels that decreased functionality for these options is adequate). Making such a change only requires access to the code for ls (from the Cygwin source or any GNU site) and a bit of programming. No Cygwin (stat() or otherwise) needed!;-) Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX (508) 560-1285 - cell phone -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com