Re: Problem: find not traversing /cygdrive/X properly?
Kevin Autrey wrote: I tried the lastest snapshot cygwin.dll - no changes - find still failed. So, I bit the bullet and re-installed my Cygwin installation. Same problem: I can't do a 'find' from a top-level /cygdrive/X directory (and it seems to affect ONLY 'find' when searching from the top-level /cygdrive/X mount point). When I do a 'find' command (in bash or tcsh): tka-16:/cygdrive/p find /cygdrive/c -iname cdplayer.ini find: .: No such file or directory find: /cygdrive/c/.backupSettings: No such file or directory find: /cygdrive/c/AUTOEXEC.BAT: No such file or directory find: /cygdrive/c/boot.ini: No such file or directory find: /cygdrive/c/CONFIG.SYS: No such file or directory find: /cygdrive/c/Documents and Settings: No such file or directory find: /cygdrive/c/IO.SYS: No such file or directory find: /cygdrive/c/Log.txt: No such file or directory find: /cygdrive/c/MSDOS.SYS: No such file or directory find: /cygdrive/c/NTDETECT.COM: No such file or directory find: /cygdrive/c/ntldr: No such file or directory find: /cygdrive/c/PRIOR_SYSTEM: No such file or directory find: /cygdrive/c/Program Files: No such file or directory find: /cygdrive/c/RECYCLER: No such file or directory find: /cygdrive/c/System Volume Information: No such file or directory find: /cygdrive/c/Temp: No such file or directory find: /cygdrive/c/tomsteady.ini: No such file or directory find: /cygdrive/c/WINDOWS: No such file or directory find: /cygdrive/c/xPos.txt: No such file or directory If I search a specific directory from the /cygdrive/X directory, it works: tka-16:/cygdrive/p find /cygdrive/c/windows -iname cdplayer.ini /cygdrive/c/windows/CDPLAYER.INI If I do 'find' on the C:/ directory it works: tka-16:/cygdrive/p find C:/ -iname cdplayer.ini C:/WINDOWS/CDPLAYER.INI What's interesting is that if I do a 'find' on /cygdrive/c/., it also works! tka-16:/cygdrive/p find /cygdrive/c/. -iname cdplayer.ini /cygdrive/c/./WINDOWS/CDPLAYER.INI Does this clarify the problem or give more clues as to what might be going on? Is anyone else having this problem? Kevin Well, I've just tested this myself, and the only error I get is the normal permission denied on system volume information. I should mention that I updated my cygwin installation on Thursday or Friday last week.. There are two things I'm wondering though... Where is this . in your PATH coming from? (it's in your cygcheck output) Also, have you tried making the /cygdrive/X mounts binmode? Mine show up in mount like: c: on /cygdrive/c type system (binmode,noumount) Might be worth testing it that way? Chris -- Spinning complacently in the darkness, covered and blinded by a blanket of little lives, false security has lulled the madness of this world into a slumber. Wake up! An eye is upon you, staring straight down and keenly through, seeing all that you are and everything that you will never be. Yes, an eye is upon you, an eye ready to blink. So face forward, with arms wide open and mind reeling. Your future has arrived... Are you ready to go? -- 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/
Re: Problem: find not traversing /cygdrive/X properly?
Hi Chris - I always put . in the front of my path so that as I'm developing an app, I always pick up the devel version in my current working directory instead of /usr/local/bin. I know it's not the most secure thing in the world, but I'm on a stand-alone, single-user system, so the security risks are manageable. Just to try something, I modified my path to only include /usr/bin - no difference: tka-16:/cygdrive/p set path = /usr/bin tka-16:/cygdrive/p which find /usr/bin/find tka-16:/cygdrive/p find /cygdrive/c -iname win.ini find: .: No such file or directory find: /cygdrive/c/.backupSettings: No such file or directory find: /cygdrive/c/AUTOEXEC.BAT: No such file or directory find: /cygdrive/c/boot.ini: No such file or directory find: /cygdrive/c/CONFIG.SYS: No such file or directory find: /cygdrive/c/Documents and Settings: No such file or directory find: /cygdrive/c/IO.SYS: No such file or directory find: /cygdrive/c/Log.txt: No such file or directory find: /cygdrive/c/MSDOS.SYS: No such file or directory find: /cygdrive/c/NTDETECT.COM: No such file or directory find: /cygdrive/c/ntldr: No such file or directory find: /cygdrive/c/PRIOR_SYSTEM: No such file or directory find: /cygdrive/c/Program Files: No such file or directory find: /cygdrive/c/RECYCLER: No such file or directory find: /cygdrive/c/System Volume Information: No such file or directory find: /cygdrive/c/Temp: No such file or directory find: /cygdrive/c/tomsteady.ini: No such file or directory find: /cygdrive/c/WINDOWS: No such file or directory find: /cygdrive/c/xPos.txt: No such file or directory Per Eric's suggestion from last week, I did change my mount types to -b: tka-16:/cygdrive/p mount -m mount -f -s -b D:/CygWIN/bin /usr/bin mount -f -s -b D:/CygWIN/lib /usr/lib mount -f -s -b D:/CygWIN / mount -s -b --change-cygdrive-prefix /cygdrive Very strange... Kevin At 04:02 10/24/2005 (Monday), Chris Taylor wrote: Kevin Autrey wrote: I tried the lastest snapshot cygwin.dll - no changes - find still failed. So, I bit the bullet and re-installed my Cygwin installation. Same problem: I can't do a 'find' from a top-level /cygdrive/X directory (and it seems to affect ONLY 'find' when searching from the top-level /cygdrive/X mount point). When I do a 'find' command (in bash or tcsh): tka-16:/cygdrive/p find /cygdrive/c -iname cdplayer.ini find: .: No such file or directory find: /cygdrive/c/.backupSettings: No such file or directory find: /cygdrive/c/AUTOEXEC.BAT: No such file or directory find: /cygdrive/c/boot.ini: No such file or directory find: /cygdrive/c/CONFIG.SYS: No such file or directory find: /cygdrive/c/Documents and Settings: No such file or directory find: /cygdrive/c/IO.SYS: No such file or directory find: /cygdrive/c/Log.txt: No such file or directory find: /cygdrive/c/MSDOS.SYS: No such file or directory find: /cygdrive/c/NTDETECT.COM: No such file or directory find: /cygdrive/c/ntldr: No such file or directory find: /cygdrive/c/PRIOR_SYSTEM: No such file or directory find: /cygdrive/c/Program Files: No such file or directory find: /cygdrive/c/RECYCLER: No such file or directory find: /cygdrive/c/System Volume Information: No such file or directory find: /cygdrive/c/Temp: No such file or directory find: /cygdrive/c/tomsteady.ini: No such file or directory find: /cygdrive/c/WINDOWS: No such file or directory find: /cygdrive/c/xPos.txt: No such file or directory If I search a specific directory from the /cygdrive/X directory, it works: tka-16:/cygdrive/p find /cygdrive/c/windows -iname cdplayer.ini /cygdrive/c/windows/CDPLAYER.INI If I do 'find' on the C:/ directory it works: tka-16:/cygdrive/p find C:/ -iname cdplayer.ini C:/WINDOWS/CDPLAYER.INI What's interesting is that if I do a 'find' on /cygdrive/c/., it also works! tka-16:/cygdrive/p find /cygdrive/c/. -iname cdplayer.ini /cygdrive/c/./WINDOWS/CDPLAYER.INI Does this clarify the problem or give more clues as to what might be going on? Is anyone else having this problem? Kevin Well, I've just tested this myself, and the only error I get is the normal permission denied on system volume information. I should mention that I updated my cygwin installation on Thursday or Friday last week.. There are two things I'm wondering though... Where is this . in your PATH coming from? (it's in your cygcheck output) Also, have you tried making the /cygdrive/X mounts binmode? Mine show up in mount like: c: on /cygdrive/c type system (binmode,noumount) Might be worth testing it that way? Chris -- Spinning complacently in the darkness, covered and blinded by a blanket of little lives, false security has lulled the madness of this world into a slumber. Wake up! An eye is upon you, staring straight down and keenly through, seeing all that you are and everything that you will never be. Yes, an eye is upon you, an eye ready to blink. So face forward, with arms wide open and mind reeling. Your future has arrived... Are you ready to
Re: Problem: find not traversing /cygdrive/X properly?
Kevin Autrey wrote: Hi Chris - I always put . in the front of my path so that as I'm developing an app, I always pick up the devel version in my current working directory instead of /usr/local/bin. I know it's not the most secure thing in the world, but I'm on a stand-alone, single-user system, so the security risks are manageable. Fair enough. Just seemed odd (I didn't think for a moment it could cause the problem.. Just out of place). Just to try something, I modified my path to only include /usr/bin - no difference: tka-16:/cygdrive/p set path = /usr/bin tka-16:/cygdrive/p which find /usr/bin/find tka-16:/cygdrive/p find /cygdrive/c -iname win.ini find: .: No such file or directory find: /cygdrive/c/.backupSettings: No such file or directory find: /cygdrive/c/AUTOEXEC.BAT: No such file or directory find: /cygdrive/c/boot.ini: No such file or directory find: /cygdrive/c/CONFIG.SYS: No such file or directory find: /cygdrive/c/Documents and Settings: No such file or directory find: /cygdrive/c/IO.SYS: No such file or directory find: /cygdrive/c/Log.txt: No such file or directory find: /cygdrive/c/MSDOS.SYS: No such file or directory find: /cygdrive/c/NTDETECT.COM: No such file or directory find: /cygdrive/c/ntldr: No such file or directory find: /cygdrive/c/PRIOR_SYSTEM: No such file or directory find: /cygdrive/c/Program Files: No such file or directory find: /cygdrive/c/RECYCLER: No such file or directory find: /cygdrive/c/System Volume Information: No such file or directory find: /cygdrive/c/Temp: No such file or directory find: /cygdrive/c/tomsteady.ini: No such file or directory find: /cygdrive/c/WINDOWS: No such file or directory find: /cygdrive/c/xPos.txt: No such file or directory Per Eric's suggestion from last week, I did change my mount types to -b: tka-16:/cygdrive/p mount -m mount -f -s -b D:/CygWIN/bin /usr/bin mount -f -s -b D:/CygWIN/lib /usr/lib mount -f -s -b D:/CygWIN / mount -s -b --change-cygdrive-prefix /cygdrive Could you paste the current output of mount ? Very strange... Indeed. As I recall, you said you'd tried reinstalling cygwin.. Was this from the same source? Actually.. Hrm.. *ponders* I wonder if it's a permissions thing.. What user class do you run cygwin as, and what are your user/group permissions on C:, D: etc? Chris -- Spinning complacently in the darkness, covered and blinded by a blanket of little lives, false security has lulled the madness of this world into a slumber. Wake up! An eye is upon you, staring straight down and keenly through, seeing all that you are and everything that you will never be. Yes, an eye is upon you, an eye ready to blink. So face forward, with arms wide open and mind reeling. Your future has arrived... Are you ready to go? -- 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/
Re: Problem: find not traversing /cygdrive/X properly?
Hi Chris - At 07:54 10/24/2005 (Monday), you wrote: Could you paste the current output of mount ? Sure: tka-16:/cygdrive/p mount D:\CygWIN\bin on /usr/bin type system (binmode) D:\CygWIN\lib on /usr/lib type system (binmode) D:\CygWIN on / type system (binmode) c: on /cygdrive/c type system (binmode,noumount) d: on /cygdrive/d type system (binmode,noumount) e: on /cygdrive/e type system (binmode,noumount) i: on /cygdrive/i type system (binmode,noumount) m: on /cygdrive/m type system (binmode,noumount) p: on /cygdrive/p type system (binmode,noumount) s: on /cygdrive/s type system (binmode,noumount) v: on /cygdrive/v type system (binmode,noumount) w: on /cygdrive/w type system (binmode,noumount) Very strange... Indeed. As I recall, you said you'd tried reinstalling cygwin.. Was this from the same source? Yes, http://planetmirror.com Actually.. Hrm.. *ponders* I wonder if it's a permissions thing.. What user class do you run cygwin as, and what are your user/group permissions on C:, D: etc? I'm not sure exactly how to get the information that you're asking about here - but I'll give it a stab and if it's not right, then please reply with the commands you're interested in: tka-16:/cygdrive/p id uid=1003(Administrator) gid=513(None) groups=0(root),513(None),544(Administrators),545(Users),1004(Debugger Users) tka-16:/cygdrive/p ls -lga /cygdrive/c total 303 drwxrwxr-x+ 9 SYSTEM 0 Oct 23 11:00 . dr-xr-xr-x 17 root0 Dec 31 1969 .. -rwx--+ 1 None 12 Jul 6 22:28 .backupSettings -rwxrwx---+ 1 SYSTEM 0 Aug 22 08:29 AUTOEXEC.BAT -rwxrwx---+ 1 SYSTEM 0 Aug 22 08:29 CONFIG.SYS drwxrwxr-x+ 8 SYSTEM 0 Sep 23 14:26 Documents and Settings -r-xr-x---+ 1 SYSTEM 0 Aug 22 08:29 IO.SYS -rwx--+ 1 None0 Oct 24 06:13 Log.txt -r-xr-x---+ 1 SYSTEM 0 Aug 22 08:29 MSDOS.SYS -r-xr-x---+ 1 SYSTEM 47564 Aug 22 08:41 NTDETECT.COM drwxrwxrwt+ 5 SYSTEM 0 Aug 23 21:55 PRIOR_SYSTEM dr-xr-x---+ 21 SYSTEM 0 Aug 22 09:04 Program Files drwx--+ 3 None0 Aug 23 11:47 RECYCLER d---rwx---+ 2 SYSTEM 0 Oct 24 02:11 System Volume Information drwxrwxrwt+ 3 SYSTEM 0 Oct 1 14:15 Temp drwxrwx---+ 90 SYSTEM 0 Oct 23 12:09 WINDOWS -rwxrwx---+ 1 SYSTEM211 Aug 22 08:48 boot.ini -r-xr-x---+ 1 SYSTEM 250032 Aug 22 08:41 ntldr -rwx--+ 1 None 138 Oct 24 06:11 tomsteady.ini -rwx--+ 1 None 2591 Oct 15 13:54 xPos.txt tka-16:/cygdrive/p ls -lga /cygdrive/d total 2304 drwxrwxr-x+ 117 SYSTEM 0 Oct 24 06:14 . dr-xr-xr-x 17 root 0 Dec 31 1969 .. drwxrwx---+ 6 SYSTEM 0 Aug 23 15:00 Acrobat drwx--+ 4 None 0 Aug 23 15:01 Adobe drwxrwx---+ 14 SYSTEM 0 Oct 23 10:59 Apache2 drwxrwx---+ 6 SYSTEM 0 Oct 16 13:48 Backup MyPC drwx--+ 5 None 0 Oct 24 06:13 CIDMan drwxrwx---+ 5 SYSTEM 0 Sep 23 08:56 Canon drwx--+ 5 None 0 Oct 24 06:15 ClipMate drwxrwx---+ 2 SYSTEM 0 Oct 23 10:56 Config.Msi drwx--+ 6 None 0 Aug 23 07:32 Creative drwxrwx---+ 9 Users0 Oct 23 13:38 CygWIN ... tka-16:/cygdrive/p cd /cygdrive/d/cygwin tka-16:/cygdrive/d/cygwin ls -lga total 9 drwxrwx---+ 9 Users 0 Oct 23 13:38 . drwxrwxr-x+ 117 SYSTEM0 Oct 24 06:14 .. drwxrwx---+ 2 Users 0 Oct 23 13:36 bin -rwxr-x---+ 1 Users57 Oct 23 13:37 cygwin.bat -rwxr-x---+ 1 Users 7022 Oct 23 13:37 cygwin.ico drwxrwx---+ 10 Users 0 Oct 23 13:58 etc drwxrwxrwx+ 3 None 0 Oct 23 22:10 home drwxrwx---+ 20 Users 0 Oct 23 13:36 lib drwxrwxrwt+ 2 Users 0 Oct 24 04:30 tmp drwxrwx---+ 15 Users 0 Oct 23 13:36 usr drwxrwx---+ 9 Users 0 Oct 23 13:37 var Regards, Kevin -- 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/
Re: Problem: find not traversing /cygdrive/X properly?
I tried the lastest snapshot cygwin.dll - no changes - find still failed. So, I bit the bullet and re-installed my Cygwin installation. Same problem: I can't do a 'find' from a top-level /cygdrive/X directory (and it seems to affect ONLY 'find' when searching from the top-level /cygdrive/X mount point). When I do a 'find' command (in bash or tcsh): tka-16:/cygdrive/p find /cygdrive/c -iname cdplayer.ini find: .: No such file or directory find: /cygdrive/c/.backupSettings: No such file or directory find: /cygdrive/c/AUTOEXEC.BAT: No such file or directory find: /cygdrive/c/boot.ini: No such file or directory find: /cygdrive/c/CONFIG.SYS: No such file or directory find: /cygdrive/c/Documents and Settings: No such file or directory find: /cygdrive/c/IO.SYS: No such file or directory find: /cygdrive/c/Log.txt: No such file or directory find: /cygdrive/c/MSDOS.SYS: No such file or directory find: /cygdrive/c/NTDETECT.COM: No such file or directory find: /cygdrive/c/ntldr: No such file or directory find: /cygdrive/c/PRIOR_SYSTEM: No such file or directory find: /cygdrive/c/Program Files: No such file or directory find: /cygdrive/c/RECYCLER: No such file or directory find: /cygdrive/c/System Volume Information: No such file or directory find: /cygdrive/c/Temp: No such file or directory find: /cygdrive/c/tomsteady.ini: No such file or directory find: /cygdrive/c/WINDOWS: No such file or directory find: /cygdrive/c/xPos.txt: No such file or directory If I search a specific directory from the /cygdrive/X directory, it works: tka-16:/cygdrive/p find /cygdrive/c/windows -iname cdplayer.ini /cygdrive/c/windows/CDPLAYER.INI If I do 'find' on the C:/ directory it works: tka-16:/cygdrive/p find C:/ -iname cdplayer.ini C:/WINDOWS/CDPLAYER.INI What's interesting is that if I do a 'find' on /cygdrive/c/., it also works! tka-16:/cygdrive/p find /cygdrive/c/. -iname cdplayer.ini /cygdrive/c/./WINDOWS/CDPLAYER.INI Does this clarify the problem or give more clues as to what might be going on? Is anyone else having this problem? Kevin At 13:20 10/17/2005 (Monday), Kevin Autrey wrote: Sorry for the private e-mail earlier... my e-mailer (Eudora) understands Reply-To: but apparently not Mail-Followup-To:. :-( Anyway, mount -m returns the following (and the cygdrive-prefix looks good to me): tka-16:/cygdrive mount -m mount -f -s -b d:/cygwin/bin /usr/bin mount -f -s -b d:/cygwin/lib /usr/lib mount -f -s -b d:/cygwin / mount -s -t --change-cygdrive-prefix /cygdrive I then took your suggestion and downloaded the snapshot version of cygwin1.dll, and rebooted: tka-16:/cygdrive/c uname -a CYGWIN_NT-5.1 tka-16 1.5.19s(0.138/4/2) 20051013 22:16:34 i686 unknown unknown Cygwin But the problem remains... Is the part where the path is normalized (from the earlier strace listing) - when the drive letter goes missing from the /cygdrive/.../filename path - is that normalization done in the cygwin1.dll code or in the find application code? Kevin At 09:58 10/17/2005 (Monday), Eric Blake wrote: -- Forwarded Message: - From:Kevin Autrey Kevin.Autrey AT pobox DOT com To: ericblake AT comcast DOT net (Eric Blake) Subject: Re: Problem: find not traversing /cygdrive/X properly? Date:Mon, 17 Oct 2005 14:44:23 + Hi Eric - At 09:29 10/17/2005 (Monday), you wrote: 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? Yeah, that's what I was thinking too - that nothing that was updated should have made a difference. Here are all of the files that got downloaded during the update on Saturday: tka-16:/cygdrive/e/cygwin/http%3a%2f%2fplanetmirror.com%2fpub%2fsourcewa r e%2fcy gwin find . -mtime 1 -ls 2814749767109680 drwxrwxrwt 120 0 Oct 15 10:34 ./release 2814749767109930 drwxrwxrwt 2 0 Oct 15 10:33 ./release/cygwin-doc 844424930139267 454 -rwxrwxrwx 1 Administrator Users 929258 Oct 15 10:33 ./release/cygwin-doc/cygwin-doc-1.4-3.tar.bz2 2814749767110450 drwxrwxrwt 6 0 Oct 15 10:34 ./release/ncurses 2814749767113820 drwxrwxrwt 2 0 Oct 15 10:34 ./release/ncurses/libncurses8 844424930139268 84 -rwxrwxrwx 1 Administrator Users 169516 Oct 15 10:34 ./release/ncurses/libncurses8/libncurses8-5.4-4.tar.bz2 1125899906849942 172 -rwxrwxrwx 1 Administrator Users 349256 Oct 15 10:34 ./release/ncurses/ncurses-5.4-4.tar.bz2 2814749767110490 drwxrwxrwt 4
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 findutils4.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/
Re: Problem: find not traversing /cygdrive/X properly?
-- Forwarded Message: - From:Kevin Autrey Kevin.Autrey AT pobox DOT com To: ericblake AT comcast DOT net (Eric Blake) Subject: Re: Problem: find not traversing /cygdrive/X properly? Date:Mon, 17 Oct 2005 14:44:23 + Hi Eric - At 09:29 10/17/2005 (Monday), you wrote: 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? Yeah, that's what I was thinking too - that nothing that was updated should have made a difference. Here are all of the files that got downloaded during the update on Saturday: tka-16:/cygdrive/e/cygwin/http%3a%2f%2fplanetmirror.com%2fpub%2fsourceware%2fcy gwin find . -mtime 1 -ls 2814749767109680 drwxrwxrwt 120 0 Oct 15 10:34 ./release 2814749767109930 drwxrwxrwt 2 0 Oct 15 10:33 ./release/cygwin-doc 844424930139267 454 -rwxrwxrwx 1 Administrator Users 929258 Oct 15 10:33 ./release/cygwin-doc/cygwin-doc-1.4-3.tar.bz2 2814749767110450 drwxrwxrwt 6 0 Oct 15 10:34 ./release/ncurses 2814749767113820 drwxrwxrwt 2 0 Oct 15 10:34 ./release/ncurses/libncurses8 844424930139268 84 -rwxrwxrwx 1 Administrator Users 169516 Oct 15 10:34 ./release/ncurses/libncurses8/libncurses8-5.4-4.tar.bz2 1125899906849942 172 -rwxrwxrwx 1 Administrator Users 349256 Oct 15 10:34 ./release/ncurses/ncurses-5.4-4.tar.bz2 2814749767110490 drwxrwxrwt 4 0 Oct 15 10:34 ./release/openssl 1125899906849943 480 -rwxrwxrwx 1 Administrator Users 980283 Oct 15 10:34 ./release/openssl/openssl-0.9.8a-1.tar.bz2 2814749767114040 drwxrwxrwt 2 Users 0 Oct 15 10:34 ./release/openssl/openssl097 1125899906849944 276 -rwxrwxrwx 1 Administrator Users 564535 Oct 15 10:34 ./release/openssl/openssl097/openssl097-0.9.7h-1.tar.bz2 5629499534285360 drwxrwxrwt 2 Administrator Users 0 Oct 15 10:34 ./release/whois 1125899906849945 20 -rwxrwxrwx 1 Administrator Users 37227 Oct 15 10:34 ./release/whois/whois-4.7.8-1.tar.bz2 8444249301392690 drwxrwxrwt 3 Administrator Users 0 Oct 15 10:34 ./release/_obsolete 8444249301392700 drwxrwxrwt 2 Administrator Users 0 Oct 15 10:34 ./release/_obsolete/libpcre 11258999068499411 -rwxrwxrwx 1 Administrator Users 46 Oct 15 10:34 ./release/_obsolete/libpcre/libpcre-4.1-2.tar.bz2 11258999068499461 -rwxrwxrwx 1 Administrator Users 373 Oct 15 10:34 ./release/_update-info-dir/_update-info-dir-00322-1.tar.bz2 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. Okay, I changed the mounts to binmode (not sure how they got to be textmode...) - no improvement: tka-16:/cygdrive/c mount d:\cygwin\bin on /usr/bin type system (binmode) d:\cygwin\lib on /usr/lib type system (binmode) d:\cygwin on / type system (binmode) c: on /cygdrive/c type system (textmode,noumount) d: on /cygdrive/d type system (textmode,noumount) e: on /cygdrive/e type system (textmode,noumount) i: on /cygdrive/i type system (textmode,noumount) m: on /cygdrive/m type system (textmode,noumount) p: on /cygdrive/p type system (textmode,noumount) s: on /cygdrive/s type system (textmode,noumount) v: on /cygdrive/v type system (textmode,noumount) w: on /cygdrive/w type system (textmode,noumount) mount -m may be a little more informative here, if something happened to mount --change-cygdrive-prefix. and then: tka-16:/cygdrive/c find /cygdrive/c win.ini /cygdrive/c find: .: No such file or directory find: /cygdrive/c/.backupSettings: No such file or directory find: /cygdrive/c/AUTOEXEC.BAT: No such file or directory find: /cygdrive/c/boot.ini: No such file or directory find: /cygdrive/c/CONFIG.SYS: No such file or directory find: /cygdrive/c/Documents and Settings: No such file or directory find: /cygdrive/c/IO.SYS: No such file or directory find: /cygdrive/c/Log.txt: No such file or directory find: /cygdrive/c/MSDOS.SYS: No such file or directory find: /cygdrive/c/NTDETECT.COM
Re: Problem: find not traversing /cygdrive/X properly?
Sorry for the private e-mail earlier... my e-mailer (Eudora) understands Reply-To: but apparently not Mail-Followup-To:. :-( Anyway, mount -m returns the following (and the cygdrive-prefix looks good to me): tka-16:/cygdrive mount -m mount -f -s -b d:/cygwin/bin /usr/bin mount -f -s -b d:/cygwin/lib /usr/lib mount -f -s -b d:/cygwin / mount -s -t --change-cygdrive-prefix /cygdrive I then took your suggestion and downloaded the snapshot version of cygwin1.dll, and rebooted: tka-16:/cygdrive/c uname -a CYGWIN_NT-5.1 tka-16 1.5.19s(0.138/4/2) 20051013 22:16:34 i686 unknown unknown Cygwin But the problem remains... Is the part where the path is normalized (from the earlier strace listing) - when the drive letter goes missing from the /cygdrive/.../filename path - is that normalization done in the cygwin1.dll code or in the find application code? Kevin At 09:58 10/17/2005 (Monday), Eric Blake wrote: -- Forwarded Message: - From:Kevin Autrey Kevin.Autrey AT pobox DOT com To: ericblake AT comcast DOT net (Eric Blake) Subject: Re: Problem: find not traversing /cygdrive/X properly? Date:Mon, 17 Oct 2005 14:44:23 + Hi Eric - At 09:29 10/17/2005 (Monday), you wrote: 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? Yeah, that's what I was thinking too - that nothing that was updated should have made a difference. Here are all of the files that got downloaded during the update on Saturday: tka-16:/cygdrive/e/cygwin/http%3a%2f%2fplanetmirror.com%2fpub%2fsourcewar e%2fcy gwin find . -mtime 1 -ls 2814749767109680 drwxrwxrwt 120 0 Oct 15 10:34 ./release 2814749767109930 drwxrwxrwt 2 0 Oct 15 10:33 ./release/cygwin-doc 844424930139267 454 -rwxrwxrwx 1 Administrator Users 929258 Oct 15 10:33 ./release/cygwin-doc/cygwin-doc-1.4-3.tar.bz2 2814749767110450 drwxrwxrwt 6 0 Oct 15 10:34 ./release/ncurses 2814749767113820 drwxrwxrwt 2 0 Oct 15 10:34 ./release/ncurses/libncurses8 844424930139268 84 -rwxrwxrwx 1 Administrator Users 169516 Oct 15 10:34 ./release/ncurses/libncurses8/libncurses8-5.4-4.tar.bz2 1125899906849942 172 -rwxrwxrwx 1 Administrator Users 349256 Oct 15 10:34 ./release/ncurses/ncurses-5.4-4.tar.bz2 2814749767110490 drwxrwxrwt 4 0 Oct 15 10:34 ./release/openssl 1125899906849943 480 -rwxrwxrwx 1 Administrator Users 980283 Oct 15 10:34 ./release/openssl/openssl-0.9.8a-1.tar.bz2 2814749767114040 drwxrwxrwt 2 Users 0 Oct 15 10:34 ./release/openssl/openssl097 1125899906849944 276 -rwxrwxrwx 1 Administrator Users 564535 Oct 15 10:34 ./release/openssl/openssl097/openssl097-0.9.7h-1.tar.bz2 5629499534285360 drwxrwxrwt 2 Administrator Users 0 Oct 15 10:34 ./release/whois 1125899906849945 20 -rwxrwxrwx 1 Administrator Users 37227 Oct 15 10:34 ./release/whois/whois-4.7.8-1.tar.bz2 8444249301392690 drwxrwxrwt 3 Administrator Users 0 Oct 15 10:34 ./release/_obsolete 8444249301392700 drwxrwxrwt 2 Administrator Users 0 Oct 15 10:34 ./release/_obsolete/libpcre 11258999068499411 -rwxrwxrwx 1 Administrator Users 46 Oct 15 10:34 ./release/_obsolete/libpcre/libpcre-4.1-2.tar.bz2 11258999068499461 -rwxrwxrwx 1 Administrator Users 373 Oct 15 10:34 ./release/_update-info-dir/_update-info-dir-00322-1.tar.bz2 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. Okay, I changed the mounts to binmode (not sure how they got to be textmode...) - no improvement: tka-16:/cygdrive/c mount d:\cygwin\bin on /usr/bin type system (binmode) d:\cygwin\lib on /usr/lib type system (binmode) d:\cygwin on / type system (binmode) c: on /cygdrive/c type system (textmode,noumount) d: on /cygdrive/d type system (textmode,noumount) e: on /cygdrive/e type system (textmode,noumount) i: on /cygdrive/i type system (textmode,noumount) m: on /cygdrive/m type system (textmode,noumount) p