delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/07/11:41:41

X-Spam-Check-By: sourceware.org
From: "Liping Zeng" <zlpingcn AT gmail DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Problem: Why the file in the mount (as system) directory can't be found?
Date: Sat, 7 Jul 2007 23:41:10 +0800
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
In-Reply-To: <Pine.GSO.4.63.0707062237160.7471@access1.cims.nyu.edu>
Message-ID: <468fb41d.1abd600a.727d.35fd@mx.google.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l67FfUXF012775

Wtxtcl is not a Cygwin program, but as what I do, the environment are same
for both executions. The diffrence is the work directory.
In /:
$ wtxtcl /tornado/host/src/hutils/muntch.tcl
>      couldn't read file "host/src/hutils/munch.tcl": no such file or
directory
In /tornado
$ wtxtcl /tornado/host/src/hutils/muntch.tcl
(OK)
-----Original Message-----
From: Igor Peshansky [mailto:pechtcha AT cs DOT nyu DOT edu] 
Sent: 2007Äê7ÔÂ7ÈÕ 10:39
To: Liping Zeng
Cc: cygwin AT cygwin DOT com
Subject: Re: Problem: Why the file in the mount (as system) directory can't
be found?

On Sat, 7 Jul 2007, Liping Zeng wrote:

> I mount D:\tornado to /tornado with following:
> 	$ mount -s "D:\tornado" /tornado
> When I exectue command in /:
>      $ wtxtcl /tornado/host/src/hutils/muntch.tcl with following result
>      couldn't read file "host/src/hutils/munch.tcl": no such file or
directory
> but after I change my work directory to /tornao, and do it again, it work
> well.
> I don't know why, can anyone help me?

Because most likely wtxtcl is not a Cygwin program, and thus does not
understand Cygwin mounts (or Cygwin POSIX paths, for that matter).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu |
igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name
changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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