delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/17/10:29:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
From: ericblake AT comcast DOT net (Eric Blake)
To: Kevin Autrey <Kevin DOT Autrey AT pobox DOT com>, cygwin AT cygwin DOT com
Subject: Re: Problem: find not traversing /cygdrive/X properly?
Date: Mon, 17 Oct 2005 14:29:35 +0000
Message-Id: <101720051429.26470.4353B54F0004BC270000676622007507440A050E040D0C079D0A@comcast.net>

> Hi -
> 
> After installing the latest updates on 2005-Oct-15 (those updates being 
> whois, openssl, ncurses and cygwin-doc) - my "find" seems to be 
> broken.  I've searched the mailing lists for relevant posts but didn't see 
> any relevant posts (but hey, searching for "find" turns up a lot of 
> non-related hits!).

Nothing in that list looks like it would have made a difference.  Are you
sure you didn't also pick up something else new?

> 
> The find command was working fine before I installed the latest/greatest 
> updates, but now I get this output from the command:
> 
> >tka-16:/cygdrive/p> find /cygdrive/c -iname win.ini -type f

Works fine for me.

> 
> My mounts look okay:

Actually, they don't.

> 
> >tka-16:/cygdrive/p> mount
> >D:\cygWIN\bin on /usr/bin type system (textmode)
> >D:\cygWIN\lib on /usr/lib type system (textmode)

Yuck - you really want your bin and lib to be binmode.

> 
> If you run the same command on "C:/", it works fine:
> 
> >tka-16:/cygdrive/p> find c:/ -iname win.ini
> >find: c:/System Volume Information: Permission denied
> >c:/WINDOWS/win.ini
> 
> The cygcheck information follows the sigtrace information.

This much information may have been better sent as an
attachment - 104k of inline text is a bit much.

> 
> Here's the sigtrace (my comments are prefixed with "***"):
> 
> >    35   35975 [main] find 2692 normalize_posix_path: 
> > /cygdrive/.backupSettings = normalize_posix_path (.backupSettings)
> 
> *** It's just normalized the path - but it omitted the drive ("c") portion 
> from the full path
> 
> >    33   36008 [main] find 2692 mount_info::conv_to_win32_path: 
> > conv_to_win32_path (/cygdrive/.backupSettings)

Yes indeed, that looks weird.  Are you sure your mounts are ok?

> 
> And finally, here's the cygcheck output:

Which should ALWAYS be sent as an attachment.

> >cygwin               1.5.18-1
> >findutils            4.2.25-2

Those are the latest versions, so nothing obvious there.

--
Eric Blake
volunteer cygwin findutils maintainer



--
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