This is the mail archive of the firstname.lastname@example.org
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
RE: Time taken for ls -la --color=yes
- To: 'Timothy Reaves' <email@example.com>
- Subject: RE: Time taken for ls -la --color=yes
- From: "Oelke, Dan" <firstname.lastname@example.org>
- Date: Mon, 8 Mar 1999 10:36:35 -0600
- Cc: cygwin users <email@example.com>
- Delivered-To: firstname.lastname@example.org
- Delivered-To: mailing list email@example.com
- Mailing-List: contact firstname.lastname@example.org; run by ezmlm
- Sender: email@example.com
> >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
> >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.
Under Unix with a normal unix filesystem, the filesystem stores
attributes about each file.
With FAT filesystem there are no such attributes stored - cygwin has to
figure them out.
In particular, if a file is executable or not has be to guessed at by
the first few characters of the file. So, cygwin has to open each file
determine this which doesn't happen under unix.
Want to unsubscribe from this list?
Send a message to firstname.lastname@example.org