From: "Paul Maier" <svn-user@web.de>
To: <cygwin@cygwin.com>
Subject: AW: How to make "ls" as quick as a Windows "dir"?
Date: Tue, 08 Feb 2011 22:26:00 -0000 [thread overview]
Message-ID: <EDFB85E08A3F4567BA2D3B2F6D1ED5FE@sulzer.de> (raw)
In-Reply-To: <4D4F628A.5000000@cygwin.com>
> 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.
So the difference is, that "ls -l" openes all files, reading in all bytes to count them;
while Windows "dir" gets the file size from the directory?
Paul.
--
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
next prev parent reply other threads:[~2011-02-08 22:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-06 21:38 Paul Maier
2011-02-07 3:10 ` Larry Hall (Cygwin)
2011-02-08 22:26 ` Paul Maier [this message]
2011-02-08 23:18 ` AW: " Larry Hall (Cygwin)
2011-02-09 11:31 ` AW: " Paul Maier
2011-02-09 16:12 ` Larry Hall (Cygwin)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=EDFB85E08A3F4567BA2D3B2F6D1ED5FE@sulzer.de \
--to=svn-user@web.de \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).