From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Oelke, Dan" To: 'Timothy Reaves' Cc: cygwin users Subject: RE: Time taken for ls -la --color=yes Date: Mon, 08 Mar 1999 08:41:00 -0000 Message-id: X-SW-Source: 1999-03/msg00238.html > >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. 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 reading the first few characters of the file. So, cygwin has to open each file to determine this which doesn't happen under unix. Dan -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Oelke, Dan" To: 'Timothy Reaves' Cc: cygwin users Subject: RE: Time taken for ls -la --color=yes Date: Wed, 31 Mar 1999 19:45:00 -0000 Message-ID: X-SW-Source: 1999-03n/msg00238.html Message-ID: <19990331194500.Vs_8zhCkUft-emyX0Q9ZrIWLFh3AbDQnm2JKotO5aPY@z> > >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. 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 reading the first few characters of the file. So, cygwin has to open each file to determine this which doesn't happen under unix. Dan -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com