This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem: find not traversing /cygdrive/X properly?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]