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: <20020722193720.91299.qmail@web10104.mail.yahoo.com>
Date: Mon, 22 Jul 2002 21:37:20 +0200 (CEST)
From: =?iso-8859-1?q?Sylvain=20Petreolle?= <spetreolle@yahoo.fr>
Subject: Re: Odd mount and path problem
To: "Larry V. Streepy, Jr." <streepy@healthlanguage.com>
Cc: cygwin@cygwin.com
In-Reply-To: <3D3C5603.9090008@healthlanguage.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit


If you don't specify a dos drive, \cygwin\bin will be relative to the
curent dos disk drive.
so if you are in d:, \cygwin\bin\ls.exe exists.
after that you do a 'cd /c'. current dos drive becomes c:.
c:\cygwin\bin\ls.exe doesn't exist and you get 'not found'.

answer to your P.S.:
P.S. I am not using the normal installation settings where /cygwin is 
mounted as / since I have a lot of other directories at the top of my D

drive that I want to access from within cygwin

all drives can be accessed by 'cd /cygdrive/x' when x is the letter of
the dos drive. so the following mountpoints is incorrect:
C: on /c type system (binmode)
should be
c: on /cygdrive/c type system (binmode)

does that answer all your questions ?

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

--
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/

