public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygcheck failing to find file
@ 2018-02-15 14:58 Fergus Daly
  2018-02-15 19:35 ` Andrey Repin
  2018-02-16 16:43 ` Corinna Vinschen
  0 siblings, 2 replies; 10+ messages in thread
From: Fergus Daly @ 2018-02-15 14:58 UTC (permalink / raw)
  To: The Cygwin Mailing List

I have an executable (created in Cygwin) located on a mobile drive D:

$ ls -al /cygdrive/d/src/sc.exe
-rwxr-xr-x 1 ferg dell 1426958 Jan 28 17:44 /cygdrive/d/src/sc.exe*
$ cygcheck /cygdrive/d/src/sc.exe
d:\src\sc.exe
D:\consoleX\bin\cygwin1.dll
 C:\Windows\system32\KERNEL32.dll
<snip> # but it all works

Now omit the need for /cygdrive/ by writing /etc/fstab as
none / cygdrive binary 0 0
and re-start Cygwin.

$ ls -al /d/src/sc.exe
-rwxr-xr-x 1 ferg dell 1426958 Jan 28 17:44 /d/src/sc.exe*
$ cygcheck /d/src/sc.exe
cygcheck: could not find '/d/src/sc.exe'

Why can't cygcheck find the file?
(Particularly, when ls can. And so can, say, md5sum.)

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: cygcheck failing to find file
@ 2018-02-21  7:46 Fergus Daly
  2018-02-21  8:50 ` Andrey Repin
  2018-02-21  9:11 ` Corinna Vinschen
  0 siblings, 2 replies; 10+ messages in thread
From: Fergus Daly @ 2018-02-21  7:46 UTC (permalink / raw)
  To: The Cygwin Mailing List

>> Cygcheck is a native Windows executable .. ..
>> I pushed a fix and uploaded new developer snapshots to
>> https://cygwin.de/snapshots/
>> Please give them a try.

I tried your link above but got "HTTP 404 Not found".
Just in case this was your intention I tried the latest cygwin1.dll
snapshot from
https://cygwin.com/snapshots/
being 20180216 but still got
> $ cygcheck /d/src/sc.exe
> cygcheck: could not find '/d/src/sc.exe'

I just tried the 20180220 snapshot; but still get
> $ cygcheck /d/src/sc.exe
> cygcheck: could not find '/d/src/sc.exe'

Fergus

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-02-21 20:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-15 14:58 cygcheck failing to find file Fergus Daly
2018-02-15 19:35 ` Andrey Repin
2018-02-16 16:43 ` Corinna Vinschen
2018-02-21  7:46 Fergus Daly
2018-02-21  8:50 ` Andrey Repin
2018-02-21  9:11   ` Corinna Vinschen
2018-02-21 20:50     ` Andrey Repin
2018-02-21  9:17   ` Fergus Daly
2018-02-21  9:53     ` Corinna Vinschen
2018-02-21  9:11 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).