X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org X-Yahoo-SMTP: Uu383n6swBCEN1G9up0WSnxbvN8fCPmk Message-ID: <4D4F628A.5000000@cygwin.com> Date: Sun, 06 Feb 2011 22:10:02 -0500 From: "Larry Hall \(Cygwin\)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: How to make "ls" as quick as a Windows "dir"? References: <99C327BE35E54B81B97E7DCAF53941A2 AT sulzer DOT de> In-Reply-To: <99C327BE35E54B81B97E7DCAF53941A2@sulzer.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 2/6/2011 4:37 PM, Paul Maier wrote: > Hello, > > for my cygwin installation (cygwin-1.7.7-1, downloaded 2010-11-02, on a > Windows XP SP 3), the time for a "ls -l" to complete is much slower than the > time for a "cmd /C dir", although similar information gets displayed. > > Does anybody know a setting, maybe a flag to "ls", to make the ls as quick as > the Windows dir? The best thing to do is to skip any flags for 'ls'. If cygwin has to open the file to fill in a particular piece of data, you're going to see significant delays on a slow file-system/driver. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple