delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Thu, 26 Jul 2007 19:03:22 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: 1.5.24: duplicate directory entries - cygcheck.out (0/1) |
Message-ID: | <20070726170322.GH19692@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <o3iha31nervlkns0s5v0ikd3s7ta776vlg AT 4ax DOT com> |
Mime-Version: | 1.0 |
In-Reply-To: | <o3iha31nervlkns0s5v0ikd3s7ta776vlg@4ax.com> |
User-Agent: | Mutt/1.4.2.2i |
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 Jul 26 12:51, Andrew Schulman wrote: > Some directory entries are appearing twice in ls output. E.g. see lib in > the following output: > > $ ls -li /usr/local > total 0 > 1688849860279750 drwxrwx---+ 2 aschulma Users 0 May 7 14:15 bin > 2251799813802842 drwxrwx---+ 2 aschulma Users 0 May 7 13:45 etc > 562949953541629 drwxrwx---+ 2 aschulma Users 0 May 9 13:19 lib > 562949953541629 drwxrwx---+ 2 aschulma Users 0 May 9 13:19 lib > 4503599627432958 drwxr-xr-x+ 3 aschulma None 0 Apr 30 15:44 src > 1970324837043942 drwxr-xr-x+ 3 aschulma None 0 May 7 13:15 stow > > I've seen this once before. In that case I rm'ed one of the duplicates (I > think it was a symlink), and rm happily complied, leaving the other entry in > place. This makes me think that the bug is in the directory structure, and > not in ls. That happens if you have a symlink and a directory of the same name. The stat buffer will for both of them return the data for the first one, usually the directory. That's the price of using Windows shortcuts as symlinks. 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |