Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Message-ID: <38CFAC71.F4E9C28A@vinschen.de> Date: Wed, 15 Mar 2000 16:29:53 +0100 From: Corinna Vinschen Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; U) X-Accept-Language: de,en MIME-Version: 1.0 To: cygwin-developers AT sourceware DOT cygnus DOT com Subject: Re: Cygwin performance (was [ANN] PW32 the...) References: <19940315002847 DOT 279871F1B AT sabami DOT seaslug DOT org> <0457 DOT 000315 AT logos-m DOT ru> <38CF6031 DOT 7D7A28BB AT vinschen DOT de> <20000315091124 DOT I19524 AT cygnus DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Chris Faylor wrote: > [...] > I think that the big slowdown happens in counting the files in > a directory to update the "nlinks" field in stat (or whatever > it's called). Oh, I missed that. Good point. I would offer to care for that because it could be done in one step together with my change to get_file_attribute(). > Maybe we should just detect when a file or directory is remote > and not do some of the more expensive operations. This is already detected in fstat. We could try to use this knowledge. I would implement a static solution first. After that, we could care for the following: > I would like the ability to be able to set attributes on an executable > something like: > > chattr --stat-lite ls.exe I would plead for a path controlled solution: cygset stat-lite [never|local|remote|always] or, another way, cygset stat-lite a: e: \\ to set stat-lite on all full paths beginning with a:, e: or \\. > chattr --fix-all-existing-bugs cygwin1.dll Let's get serious: Nobody would need us anymore ;-) Corinna