delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/22/15:44:40

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: <3D3C609F.4000704@healthlanguage.com>
Date: Mon, 22 Jul 2002 13:44:31 -0600
From: "Larry V. Streepy, Jr." <streepy AT healthlanguage DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3
X-Accept-Language: en-us
MIME-Version: 1.0
To: Sylvain Petreolle <spetreolle AT yahoo DOT fr>
CC: cygwin AT cygwin DOT com
Subject: Re: Odd mount and path problem
References: <20020722193720 DOT 91299 DOT qmail AT web10104 DOT mail DOT yahoo DOT com>

Sylvain Petreolle wrote:

> 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'.


Wow, that's something I never understood from reading the user guide or 
the FAQ.  Maybe I missed it, or this is just poorly documented.

Either way, thanks for the explanation, it really helps a lot.


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


I understand that I can always use /cygwin/c to reference c:/, but I was 
looking for something a little shorter to type :-)  Also, mounting C:/ 
on /c was an example from the user guide, so I assumed it was kosher.

It seems to work ok for me, am I getting lucky or can I reliably use a 
mount point of C:/ on /c?

> does that answer all your questions ?


Yup - you've been most helpful.

Thanks again!


-- 
Larry V. Streepy, Jr.
Chief Technical Officer and VP of Engineering

Health Language, Inc.  -- "We speak the language of healthcare"

970/626-5028 (office)           mailto:streepy AT healthlanguage DOT com
970/626-4425 (fax)              http://www.healthlanguage.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/

- Raw text -


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