www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/17/19:18:31

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

Shing-Fat Fred Ma <fma AT doe DOT carleton DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019