From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10704 invoked by alias); 15 Feb 2018 14:58:31 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 10696 invoked by uid 89); 15 Feb 2018 14:58:31 -0000 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 Received: from mail-qk0-f177.google.com (HELO mail-qk0-f177.google.com) (209.85.220.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 15 Feb 2018 14:58:30 +0000 Received: by mail-qk0-f177.google.com with SMTP id s198so15105743qke.5 for ; Thu, 15 Feb 2018 06:58:29 -0800 (PST) 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 Received: by 10.140.86.230 with HTTP; Thu, 15 Feb 2018 06:58:27 -0800 (PST) From: Fergus Daly Date: Thu, 15 Feb 2018 14:58:00 -0000 Message-ID: Subject: cygcheck failing to find file To: The Cygwin Mailing List Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2018-02/txt/msg00174.txt.bz2 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