www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/01/18:01:50

X-Spam-Check-By: sourceware.org
Date: Thu, 2 Mar 2006 00:01:32 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: experimental coreutils-5.94-4
Message-ID: <20060301230132.GX3184@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <022820061618 DOT 27185 DOT 440477D700069FD600006A3122069997350A050E040D0C079D0A AT comcast DOT net> <20060228174432 DOT GB27116 AT calimero DOT vinschen DOT de> <20060301154541 DOT GU3184 AT calimero DOT vinschen DOT de> <loom DOT 20060301T172506-641 AT post DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <loom.20060301T172506-641@post.gmane.org>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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 Mar  1 16:44, Eric Blake wrote:
> Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> >   Now, with the patch, they are listed even though they don't exists in
> >   reality on the drive.  The additional advantage is that the shell's
> >   file completion now also works for these paths.
> 
> Now, what would be really cool is if the link count of directories with
> mount points could be updated, to match the fact that readdir can now see
> mount points:

I've checked in a patch which should accomplish that.  Note that /proc
and /cygdrive always have a link count of 1 now, as for remote
directories.  In case of /proc, the real link count would only
coincidentally match the number of subdirectories, while in case of
/cygdrive the evaluation of the link count would result in accessing the
floppy drive for each stat.  Since the link count of 1 is known to work
even with older find versions, that seems the best compromise to me.
Other than that, the link count should be correct now for local
directories.


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