Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <001b01c28e97$f4556c00$78d96f83@pomello>
From: "Max Bowsher" <maxb@ukf.net>
To: "Shing-Fat Fred Ma" <fma@doe.carleton.ca>, <cygwin@cygwin.com>
References: <1037497099.24907.ezmlm@cygwin.com> <3DD82D5A.6060306@doe.carleton.ca>
Subject: Re: No such file, but it's right there
Date: Mon, 18 Nov 2002 00:18:00 -0000
MIME-Version: 1.0
Content-Type: text/plain;
	charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Shing-Fat Fred Ma <fma@doe.carleton.ca> wrote:

> When I try to "ls" a file I know to be
> there, I'm told it isn't:

No, as you show below, ls works, less doesn't.

>      $ cd /usr/bin
>      $ ls -l ftp telnet
>
>       -rwxr-xr-x 1 unknown unknown 57344 Jan 6 2002 ftp*
>       -rwxr-xr-x 1 unknown unknown 79360 Jan 6 2002 telnet*
>
>      $ less ftp telnet
>
>       ftp: No such file or directory
>       telnet: No such file or directory
>
> I don't really want to less a binary file,
> just see whether the file's presence
> is recognized.

Well the files are, of course, ftp.exe and telnet.exe.
Cygwin's automagical .exe workarounds seems to not be working when going
through a mount where there is no underlying directory.

Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

