This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Odd mount and path problem
- From: "Larry V. Streepy, Jr." <streepy at healthlanguage dot com>
- To: Sylvain Petreolle <spetreolle at yahoo dot fr>
- Cc: cygwin at cygwin dot com
- Date: Mon, 22 Jul 2002 13:44:31 -0600
- Subject: Re: Odd mount and path problem
- References: <20020722193720.91299.qmail@web10104.mail.yahoo.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@healthlanguage.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/