delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
X-Injected-Via-Gmane: | http://gmane.org/ |
To: | cygwin AT cygwin DOT com |
From: | Thorsten Kampe <thorsten AT thorstenkampe DOT de> |
Subject: | Re: find not finding everything? |
Date: | Tue, 18 Feb 2003 06:09:37 +0100 |
Lines: | 43 |
Message-ID: | <17482a1catgrk$.dlg@thorstenkampe.de> |
References: | <000001c2d628$43a15e40$1403a8c0 AT sc DOT tlinx DOT org> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT main DOT gmane DOT org |
User-Agent: | 40tude_Dialog/2.0.3.1 |
* linda w (cyg) (03-02-17 02:59 +0100) > I notice that when I do a "find C:\\", or a find "/cygdrive/c", > I don't get files under my cygwin dir. Why is that? I could > imagine that it might judge them as separate file systems and might > exclude them if I used "find -xdev...", but seems that /cygdrive/c > or C:\\ should give whole disk....? > > I could see find not following 'cygdrive' mounted file systems -- like > if I started at "/", I'd only get stuff under my cygwin dir but not > under the automounted cygdrive dirs.... > > Rationale? Feature? Bug? just weirdness? :-) Probably a bug. Similar things happen with 'updatedb' (a shell script using 'find'): ,--- * updatedb and /cygdrive/c (24.01.2003 20:06:36) | Two problems with Cygwin and "updatedb": | | 1. "updatedb" terminates with | "/usr/bin/find: . changed during execution of /usr/bin/find". | This happens unless called with '--prunepaths="/cygdrive"' | ("/cygdrive" is a "real" directory). | | 2. I'm calling "updatedb" with | '--prunepaths="/cygdrive /cygdrive/c/CDROM /cygdrive/c/FLOPPY /cygdrive/c/DATA/cygwin /dev /proc"' | (DATA, FLOPPY and CDROM are mounted under Windows XP). | | Unfortunately "updatedb" omits certain directories (/cygdrive/c/DATA | /cygdrive/c/DATA/VPOP3 /cygdrive/c/WINDOWS). So I have to say | explicitly: | '--localpaths="/ /cygdrive/c /cygdrive/c/DATA /cygdrive/c/DATA/VPOP3 /cygdrive/c/WINDOWS"' | | Does anyone know why "updatedb" doesn't like "/cygdrive" and why | certain directories aren't searched?! `--- Thorsten -- Content-Type: text/explicit; charset=ISO-8859-666 (Parental Advisory) Content-Transfer-Warning: message contains innuendos not suited for children under the age of 18 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |