delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/15/04:45:22

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 15 Apr 2008 10:44:47 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: coreutils-6.10-1
Message-ID: <20080415084447.GA18425@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 47A62BF1 DOT 8050004 AT byu DOT net> <20080411171048 DOT GV23852 AT calimero DOT vinschen DOT de> <loom DOT 20080414T210749-703 AT post DOT gmane DOT org> <loom DOT 20080414T211657-399 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20080414T211657-399@post.gmane.org>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 Apr 14 21:17, Eric Blake wrote:
> Eric Blake <ebb9 <at> byu.net> writes:
> 
> > The cost of stat'ing a known symlink (which may involve spinning up a disk or 
> > doing a network access) just to color its target was deemed too expensive for 
> > the default.  Coreutils 6.11 is due out this week, with no change in 
> behavior, 
> > but perhaps for 6.12, upstream can add a option to dircolors/ls that requests 
> > coloring symlink targets in spite of the increased cost of the stat.
> > 
> 
> Also, you can use ls -F to force the stat, and hence the coloring.

Using -F is ok for the time being.  While the extra stat call is a big
performance hit, it's also helpful to identify dangling symlinks.  Not
that all uncolored symlinks are dangling but the coloring confines the
selection...


Thanks for your confirmation,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019