This is the mail archive of the
mailing list for the Cygwin project.
Re: find not finding everything?
- From: Thorsten Kampe <thorsten at thorstenkampe dot de>
- To: cygwin at cygwin dot com
- Date: Tue, 18 Feb 2003 06:09:37 +0100
- Subject: Re: find not finding everything?
- References: <firstname.lastname@example.org>
* 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
,--- * 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
| '--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?!
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