X-Spam-Check-By: sourceware.org From: "Liping Zeng" To: 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 Content-Type: text/plain; charset="gb2312" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: Message-ID: <468fb41d.1abd600a.727d.35fd@mx.google.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Content-Transfer-Encoding: 8bit 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/