X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; q=dns; s=default; b=MmCg6Mc/yQ+4Z2OjvJmPsE1IRzYkX 2fBUDTNVnDAf2YKv6enruLvc73OjuZ55ymqP68zQN4yIuooCZpmU8OIrV2gHgB73 m5s9ZvjtgE65Lq575S91OfaKOkUGq5WNHLtEMzpsxyb9MDeJBWYdoM0Afai3LHc2 EYCaMKHg6BvC5Y= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; s=default; bh=TKnReTba94g3ucb1mEKZOEh+k3s=; b=d2X QH557P7DxRrbSsrY5L/O/K8bfNhiQuDp8Yyv7lsRGQ73NZVg5CTzgr064toGj9ZH XGZeYRJ/OQGuI22403i80z6OiY9qxWxn2vSzPVbu4bThO84mlJ/4KC7TfytDpaiZ geBSmad/Xd3xG4dMXJZZO0MHDH2RckbYr2yJly+I= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=dell, mobile X-HELO: mail-qk0-f177.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=JTkUgDneNNZPGToFHpFlG2haCGARn/7seXwcY7dPBv0=; b=HgOEobUE9VsRdxyiKnb9OX7do/DTcm6+PMnGZWXaaV6jejcQ8gnfR32Ahcy0SQjKQ7 8IHxkGk6o5fSbTKpz6z/0PWgiItKx4Lu6hXi3d7me8uwyc2NBJ4VxbtAJnzMFtNCfYoF hJFCurhwsp6zO+uYwRY/gy+2q+OE5A+IIM0vzuLMf/+UR2JoM5NrgkbmYdB+ZzNkHtrK kCTvd//xBepvXoFAheLCjUFZ0ZeOA2CvpxBNN+rpcmDKZxQrcvIO2DyUQ7B3qnQCia5z jyVAGAhnP2vym5Glhrx6UX5tdH2jDG4PMikn5Lh6YF2QHyXFQlGhdtqDjt+mPqHiELTe ZoRA== X-Gm-Message-State: APf1xPDclUUdgwMKYi2pwOZw/bKmRb3dAuIdob8wg5lRuQfd4siCVteV q+90H58/yI/Z1bLQ3K5t1kdBViem9IQ6JVGBtjnH X-Google-Smtp-Source: AH8x224E/i8aNnuDxLkJODV9tditb2Pz4Q/m4GDjcudJaIIffNKfIFHSeElz2HSDSCiSbKRl3qeyZILRrAO7DE0ZFM4= X-Received: by 10.55.50.9 with SMTP id y9mr4255565qky.207.1518706707837; Thu, 15 Feb 2018 06:58:27 -0800 (PST) MIME-Version: 1.0 From: Fergus Daly Date: Thu, 15 Feb 2018 14:58:27 +0000 Message-ID: Subject: cygcheck failing to find file To: The Cygwin Mailing List Content-Type: text/plain; charset="UTF-8" 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.) -- 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