X-Spam-Check-By: sourceware.org Date: Fri, 3 Mar 2006 09:43:42 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Snapshot heads up for 20060301 2310 version Message-ID: <20060303084342.GB31264@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4407B7B1 DOT 1010709 AT byu DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4407B7B1.1010709@byu.net> User-Agent: Mutt/1.4.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 2 20:27, Eric Blake wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > According to Karl M on 3/2/2006 2:11 PM: > >> > >> However, you're aware of the problems with mapping cygdrive to "/", are > >> you? You'll never see the list of available drives since the special > >> cygdrive handling can't kick in for the root dir. This also results in > >> a wrong link count for the root dir. There's no easy way to fix that > >> and it's definitely not of any priority to us to change this. > >> > > What are the implications of having the wrong link count for the root dir? > > Is the link count really wrong? The problem occurs when the link count of > / is greater than 1, but is not exactly 2 more than the number of > subdirectories returned by readdir. Then programs doing recursive > traversal, such as find in findutils-4.2.27, fail to visit all > subdirectories when they take the traditional optimization that they can > stop stat'ing files to see whether there is another subdirectory to enter > once link count - 2 subdirectories have been encountered (the other two > link counts belong to . and ..). But if readdir doesn't list drive > letters when 'cygdrive' is set to /, then the link count may be okay after > all [...] Yes, you got that right and I got that wrong. The link count is still ok, you just can't see the drives. Maybe it's not that bad after all. 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/