On Feb 15 14:58, Fergus Daly wrote: > 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 > # 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.) Cygcheck is a native Windows executable and thus does not use Cygwin's path handling (in contrast to md5sum, for instance). Rather it uses a home grown version and this in turn has a bug when checking the cygdrive prefix against the incoming path. Everything goes, just not '/' alone. I pushed a fix and uploaded new developer snapshots to https://cygwin.de/snapshots/ Please give them a try. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat